error 017: undefined symbol "Checkpointid"
#1

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;
}
Reply
#2

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

It's "checkpointid" and not "Checkpointid".
Reply
#4

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

hey thankxx alll change C to c WORKING +REp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)