[AJUDA] Alguns erros - 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] Alguns erros (
/showthread.php?tid=352504)
[AJUDA] Alguns erros -
Delete_ - 20.06.2012
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
if(APlayerData[playerid][PlayerLevel] < 3) && LerPms[i] == true)
{
format(string, sizeof(string), "** %s enviou para %s: %s", playername, giveplayername, texto);
SendClientMessage(i, 0xFF80808B, string);
}
}
erros:
Код:
C:\Users\Junior\Desktop\samp03e_svr_RC8_win32\gamemodes\truck.pwn(341) : error 029: invalid expression, assumed zero
C:\Users\Junior\Desktop\samp03e_svr_RC8_win32\gamemodes\truck.pwn(341) : warning 215: expression has no effect
C:\Users\Junior\Desktop\samp03e_svr_RC8_win32\gamemodes\truck.pwn(341) : error 001: expected token: ";", but found ")"
C:\Users\Junior\Desktop\samp03e_svr_RC8_win32\gamemodes\truck.pwn(341) : error 029: invalid expression, assumed zero
C:\Users\Junior\Desktop\samp03e_svr_RC8_win32\gamemodes\truck.pwn(341) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
linha:
pawn Код:
if(APlayerData[playerid][PlayerLevel] < 3) && LerPms[i] == true)
Re: [AJUDA] Alguns erros -
ipsBruno - 20.06.2012
pawn Код:
for(new i; i < MAX_PLAYERS; i++)
{
if(APlayerData[playerid][PlayerLevel] < 3 && LerPms[i] == true)
{
format(string, sizeof(string), "** %s enviou para %s: %s", playername, giveplayername, texto);
SendClientMessage(i, 0xFF80808B, string);
}
}