error 010: invalid function or declaration - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: error 010: invalid function or declaration (
/showthread.php?tid=166424)
error 010: invalid function or declaration -
Jamal' - 08.08.2010
hello i i got only one error to finish a register system i think its a bad return maybe but im not sure can someone tell me what is wrong ?
PHP код:
format(string, 256, "[SYSTEM]: Successfully logged in! (level: %d)!", lebel);
SendClientMessage(playerid,COLOR_RED, string);
printf("%s (%i) logged in with password %s", pname, playerid, params);
}
return 0;}
return 0;}// the errors is here :) and ends here the register system
ps im using dcmd in the script
Re: error 010: invalid function or declaration -
Ritchie999 - 08.08.2010
Uh, someone correct me if i am wrong.
But atleast ONE of them should be "return 1;"