SA-MP Forums Archive
[Ajuda] erro - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] erro (/showthread.php?tid=628568)



erro - Sthol - 11.02.2017

Quote:

C:\Users\JOГO VITOR\Desktop\Brasil Perfect Games RPG v1.4c\gamemodes\BPG.pwn(35562) : error 029: invalid expression, assumed zero
C:\Users\JOГO VITOR\Desktop\Brasil Perfect Games RPG v1.4c\gamemodes\BPG.pwn(35562) : warning 215: expression has no effect
C:\Users\JOГO VITOR\Desktop\Brasil Perfect Games RPG v1.4c\gamemodes\BPG.pwn(35562) : error 001: expected token: ";", but found "]"
C:\Users\JOГO VITOR\Desktop\Brasil Perfect Games RPG v1.4c\gamemodes\BPG.pwn(35562) : error 029: invalid expression, assumed zero
C:\Users\JOГO VITOR\Desktop\Brasil Perfect Games RPG v1.4c\gamemodes\BPG.pwn(35562) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.





Quote:

if([playerid] >= 1 && !IsPlayerInGuerra(playerid) && !IsACop(playerid) && !gPlayerInGuerra(playerid) && !nmPlayerInGuerra(playerid))

oq deve ser?


Re: erro - JeffSantos2 - 11.02.2017

Talvez seja por causa do [playerid], tente tirar os colchetes( [] ) para ver se compila.
Ficarб assim...

if(playerid >= 1 && !IsPlayerInGuerra(playerid) && !IsACop(playerid) && !gPlayerInGuerra(playerid) && !nmPlayerInGuerra(playerid))


Re: erro - Sthol - 11.02.2017

Vlw mano deu Obg :3