PDA

View Full Version : error 017: undefined symbol "Checkpointid"


rockhopper
16/04/2014, 03:13 PM
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;
}

PrivatioBoni
16/04/2014, 03:16 PM
Where did you define Checkpointid?
Did you mean checkpointid? Remember that it's case sensitive.

Konstantinos
16/04/2014, 03:16 PM
It's "checkpointid" and not "Checkpointid".

Conradus
16/04/2014, 03:17 PM
Change "Checkpointid" to "checkpointid".

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == Checkpoint[0])
SendClientMessage(playerid,COLOR_RED,"This house is underconstruction!!");
return 1;
}

rockhopper
16/04/2014, 03:21 PM
hey thankxx alll change C to c WORKING +REp :)