SA-MP Forums Archive
error 017: undefined symbol "Checkpointid" - 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 017: undefined symbol "Checkpointid" (/showthread.php?tid=507180)



error 017: undefined symbol "Checkpointid" - rockhopper - 16.04.2014

Im getting this error when i am trying to Create a Dynamic Checkpoint

CODE :-
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(Checkpointid == Checkpoint[0])
	  SendClientMessage(playerid,COLOR_RED,"This house is underconstruction!!");
	return 1;
}



Re: error 017: undefined symbol "Checkpointid" - PrivatioBoni - 16.04.2014

Where did you define Checkpointid?
Did you mean checkpointid? Remember that it's case sensitive.


Re: error 017: undefined symbol "Checkpointid" - Konstantinos - 16.04.2014

It's "checkpointid" and not "Checkpointid".


Re: error 017: undefined symbol "Checkpointid" - Conradus - 16.04.2014

Change "Checkpointid" to "checkpointid".
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(checkpointid == Checkpoint[0])
        SendClientMessage(playerid,COLOR_RED,"This house is underconstruction!!");
    return 1;
}



Re: error 017: undefined symbol "Checkpointid" - rockhopper - 16.04.2014

hey thankxx alll change C to c WORKING +REp