Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2012-06-09, 09:05


krystian1134







Wiek: 29
Na forum: 5317 dni
Posty: 6

Piwa: 2

Respekt: 50

Witam mam to
Kod:

C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(964) : error 036: empty statement
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(995) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(998) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1000) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1002) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1004) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1006) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1008) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1010) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1012) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1014) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1016) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1018) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1020) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1022) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1024) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1026) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1028) : error 010: invalid function or declaration
C:\Documents and Settings\beata\Pulpit\ggsaXD\2.pwn(1100) : error 004: function "SetPlayerClass" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


19 Errors.


Kod:

SetPlayerClass(playerid, classid);

if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5) {
gTeam[playerid] = TEAM_TRUCKERS;
}
else if(classid == 6 || classid == 7) {
DajDoPolicji(playerid);
gTeam[playerid] = TEAM_POLICJA;
}
else if(classid == 8 || classid == 9) {
DajDoPogotowia(playerid);
gTeam[playerid] = TEAM_MEDYK;
}
else if(classid == 19) {
DajDosn(playerid);
gTeam[playerid] = TEAM_EURO;
}
else if(classid == 11) {
DajDoBMT(playerid);
gTeam[playerid] = TEAM_BMT;
}
else if(classid == 12) {
DajDoWak(playerid);
gTeam[playerid] = TEAM_WAK;
}
else if(classid == 13 || classid == 14) {
DajDoLT(playerid);
gTeam[playerid] = TEAM_LT;
}
else if(classid == 15 || classid == 16) {
DajDoGD(playerid);
gTeam[playerid] = TEAM_GD;
}
else if(classid == 17) {
DajDosn(playerid);
gTeam[playerid] = TEAM_SN;

Prosz? o pomoc :(

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-06-09, 09:09


sirgutbert







Wiek: 32
Na forum: 5492 dni
Posty: 62
Nick w MP: kored

Piwa: 20

Respekt: 64

Ostrzeżeń: 20%
Masz za duzo otwartych klamr

http://codegenerators.pl/brackets

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-06-09, 09:44


krystian1134







Wiek: 29
Na forum: 5317 dni
Posty: 6

Piwa: 2

Respekt: 50

9 {
a } 8
ale co ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-06-09, 10:01


Combacior







Wiek: 29
Na forum: 5795 dni
Posty: 1516

Piwa: 2161

Respekt: 1060
Respekt: 1060

Ostrzeżeń: 20%
Nie zamkn??e? ostatniej klamry:

Kod:

SetPlayerClass(playerid, classid);

if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5) {
gTeam[playerid] = TEAM_TRUCKERS;
}
else if(classid == 6 || classid == 7) {
DajDoPolicji(playerid);
gTeam[playerid] = TEAM_POLICJA;
}
else if(classid == 8 || classid == 9) {
DajDoPogotowia(playerid);
gTeam[playerid] = TEAM_MEDYK;
}
else if(classid == 19) {
DajDosn(playerid);
gTeam[playerid] = TEAM_EURO;
}
else if(classid == 11) {
DajDoBMT(playerid);
gTeam[playerid] = TEAM_BMT;
}
else if(classid == 12) {
DajDoWak(playerid);
gTeam[playerid] = TEAM_WAK;
}
else if(classid == 13 || classid == 14) {
DajDoLT(playerid);
gTeam[playerid] = TEAM_LT;
}
else if(classid == 15 || classid == 16) {
DajDoGD(playerid);
gTeam[playerid] = TEAM_GD;
}
else if(classid == 17) {
DajDosn(playerid);
gTeam[playerid] = TEAM_SN;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-06-09, 10:11


krystian1134







Wiek: 29
Na forum: 5317 dni
Posty: 6

Piwa: 2

Respekt: 50

i Nic :(

a mapa
Liczba klamer otwartych nie jest r?wna klamer zamkni?tych ;(
Otwartch klamer jest 1113
Zamkni?tych klamer jest 1116

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-06-09, 10:36


hazeR







Wiek: 29
Na forum: 5467 dni
Posty: 41
Nick w MP: hazeR

Piwa: 19

Respekt: 47,4

Ostrzeżeń: 20%
No to masz albo za ma?o klamr otwieraj?cych albo za du?o klamr zamykaj?cych.

Postaw piwo autorowi tego posta
 

 
Tagi: frakcje
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » [INNE] Frakcje Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku