Erro ao compilar Pawno
#1

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
Reply
#2

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
Reply
#3

Yarun, poste na бrea PT/BR.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)