SA-MP Forums Archive
3 Errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3 Errors (/showthread.php?tid=374131)



3 Errors - imnoob - 01.09.2012

Код:
G:\FreakWorld RPG Macedoniaa\gamemodes\FW.pwn(2437) : error 029: invalid expression, assumed zero
G:\FreakWorld RPG Macedoniaa\gamemodes\FW.pwn(2437) : warning 215: expression has no effect
G:\FreakWorld RPG Macedoniaa\gamemodes\FW.pwn(2437) : error 001: expected token: ";", but found "]"
G:\FreakWorld RPG Macedoniaa\gamemodes\FW.pwn(2437) : error 029: invalid expression, assumed zero
G:\FreakWorld RPG Macedoniaa\gamemodes\FW.pwn(2437) : fatal error 107: too many error messages on one line
LINE 2437
Код:
Pokana[playerid] = 0;
what to DO :@


Re: 3 Errors - R4VER - 01.09.2012

you gotta post the rest of the thing you gonna script , here...then we can help


Re: 3 Errors - imnoob - 01.09.2012

what u mean i dont understand u


Re: 3 Errors - Omar Amir - 01.09.2012

and please stop double posting or should i say TRIPLE POSTING !!!


Re: 3 Errors - MarkoN - 01.09.2012

Youre missing a ';' on the above line


Re: 3 Errors - imnoob - 01.09.2012

Quote:
Originally Posted by MarkoN
Посмотреть сообщение
Youre missing a ';' on the above line
Код:
               GetPlayerName(playerid, sendername, sizeof(sendername));
                PlayerInfo[playerid][pMember] = PlayerInfo[playerid][pLeader];
                PlayerInfo[playerid][pRank] = 1;
                format(string, sizeof(string), "{37F906}INFO:{FFFFFF}Ja Prifativte ponudata i sega ste vo %s", ftext);
                SendClientMessage(playerid, COLOR_WHITE, string);
                format(string, sizeof(string), "{37F906}INFO:{FFFFFF}%s ja prifati ponudata za vlez vo %s", sendername,ftext);
                SCM(playerid, BELA, string);
                Pokana[playerid] = 0;



Re: 3 Errors - R4VER - 01.09.2012

REMOVEd


Re: 3 Errors - MarkoN - 01.09.2012

did you have Pokana[MAX_PLAYERS]; or just Pokana ?


Re: 3 Errors - Roko_foko - 01.09.2012

I think the mistake is in the define line. if it looks like this
pawn Код:
#define SCM(%0,%1,%2) SendClientMessage(%0,%1,%2);
remove ';'. if not, show us the define line for SCM


Re: 3 Errors - Kirollos - 01.09.2012

i think he only did new Pokana; he should make it new Pokana[MAX_PLAYERS];