22.01.2014, 19:26
Didn't work either.
And yes, I do have the checkpoint being created,
EDIT: See, I dont even think the checkpoint is being created correctly.
I did this:
That didn't even work. But when I walk into the checkpoint it appears, it just doesnt say nothing
And yes, I do have the checkpoint being created,
pawn Код:
Houses[idx][PickupID] = CreateDynamicCP(Houses[idx][EnterX], Houses[idx][EnterY], Houses[idx][EnterZ], 2.5, 0, 0, -1, 1.2);
EDIT: See, I dont even think the checkpoint is being created correctly.
I did this:
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
new string[64];
for(new h = 0; h < sizeof(Houses); h++)
{
if(checkpointid == Houses[h][PickupID])
{
format(string, sizeof(string), "Checkpoint: %d", checkpointid);
SendClientMessage(playerid, COLOR_GREEN, string);
}
}
return 1;
}