SA-MP Forums Archive
Erro ao compilar Pawno - 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: Erro ao compilar Pawno (/showthread.php?tid=337686)



Erro ao compilar Pawno - yuran-kun - 27.04.2012

Eae galera so novo no pawno e queria saber qual й oerro nessa parte

13497 -*/
13498 - public OnPlayerPickUp(playerid, pickupid)
13499 -
13500 - {
13501 - [KillTimer(DestroyPickup Timer playerid)];
13502 - [DestroyWeaponPickup(pickupid)];
13503 - }
13504 - return 1;
13505 - }
13506 - if(pickupid == picVida)
13507 - {

esta dando erro na linha 13501 e sу nela alguem pode me dizer oque ah de errado?
os seguintes erros

C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 029: invalid expression, assumed zero
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 076: syntax error in the expression, or invalid function call
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : error 001: expected token: ";", but found "-identifier-"
C:\Users\emo\Desktop\samp03dsvr_R2_win32\gamemodes \BAC.pwn(13501) : fatal error 107: too many error messages on one line


Re: Erro ao compilar Pawno - Falco-Ger - 27.04.2012

excuse me?
anyway, what are those [] doing there
you can not have variable names with spaces
DestroyWeaponPickup is not a standard function, use DestroyPickup(pickupid)
and use , to seperate arguments

write in english
give us the compiler output


Re: Erro ao compilar Pawno - zbt - 27.04.2012

Yarun, poste na бrea PT/BR.

http://forum.sa-mp.com/forumdisplay.php?f=34