One Error - 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: One Error (
/showthread.php?tid=266650)
One Error -
cloudysky - 05.07.2011
I recently made a thread to do with errors but it was vast now it's just one error.
pawn Код:
(1024) : error 008: must be a constant expression; assumed zero
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
switch(gPlayerCheckpointStatus[playerid])
{
case CP_WEPDEP:
{
Thats where i'm getting the error.
Re: One Error -
Kitten - 05.07.2011
Read the error
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
switch(gPlayerCheckpointStatus[playerid])
{
case 0:// not sure how to add CP_WEPDEP.
{