Pawno error 029, and 017 - 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: Pawno error 029, and 017 (
/showthread.php?tid=413537)
Pawno error 029, and 017 -
Gecko75 - 05.02.2013
I have this piece of script, and its giving me this error.
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : error 029: invalid expression, assumed zero
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : error 017: undefined symbol "oprison"
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : error 029: invalid expression, assumed zero
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.0.3367 Copyright © 1997-2005, ITB CompuPhase
4 Errors.
This is not the full piece of script.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(oprison, 7, cmdtext);
dcmd(ouninvite, 9, cmdtext);
dcmd(unban, 5, cmdtext);
dcmd(banaccount, 10, cmdtext);
dcmd(setaccent, 9, cmdtext);
dcmd(deleteaccount, 13, cmdtext);
dcmd(duel, 4, cmdtext);
if(gPlayerSpawned[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not logged in or have not spawned !");
return 1;
}
Respuesta: Pawno error 029, and 017 -
ThePhenix - 05.02.2013
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(oprison, 7, cmdtext);
dcmd(ouninvite, 9, cmdtext);
dcmd(unban, 5, cmdtext);
dcmd(banaccount, 10, cmdtext);
dcmd(setaccent, 9, cmdtext);
dcmd(deleteaccount, 13, cmdtext);
dcmd(duel, 4, cmdtext);
if(gPlayerSpawned[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not logged in or have not spawned !");
}
return 1;
}
Re: Pawno error 029, and 017 -
Gecko75 - 05.02.2013
That code crashes pawn.. do you want the whole thing?