Error codes - 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: Error codes (
/showthread.php?tid=438556)
Error codes -
bigwhite584 - 20.05.2013
Yo just need some small help, almost done with this but not quite there. Thanks for any help!
Код:
CMD:gatehelp(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
SendClientMessage(playerid, COLOR_YELLOW, "DYNAMIC GATES HELP: {FFFFFF}/gate /changegatepass");
return 1;
}
Код:
C:\Users\Alex\Desktop\Gatesystem.pwn(86) : error 012: invalid function call, not a valid address
C:\Users\Alex\Desktop\Gatesystem.pwn(86) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Gatesystem.pwn(86) : error 001: expected token: ";", but found ")"
C:\Users\Alex\Desktop\Gatesystem.pwn(86) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Gatesystem.pwn(86) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Respuesta: Error codes -
JustBored - 20.05.2013
pawn Код:
CMD:gatehelp(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
{
SendClientMessage(playerid, COLOR_YELLOW, "DYNAMIC GATES HELP: {FFFFFF}/gate /changegatepass");
}
return 1;
}