01.03.2015, 12:53
(
Последний раз редактировалось dominik523; 01.03.2015 в 16:49.
)
Hmm, my checkpoint is streamed when I start my server, but OnPlayerEnterDynamicCP doesn't get called.
I'm only creating checkpoints with the streamer so I'm not sure what could possibly mess up my checkpoints.
Oh, and player's virtual world is set to 1500.
Does anyone have any ideas?
EDIT: Okay, so the problem was Z parameter of the checkpoint was too high. I've set it to 158 and now everything works. Sorry, my bad!
pawn Код:
Checkpoint= CreateDynamicCP(1673.9871, -1344.0293, 166.6351, 3.0);
...
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
SendClientMessage(playerid, -1, "OnPlayerEnterDynamicCP called");
return 1;
}
Oh, and player's virtual world is set to 1500.
Does anyone have any ideas?
EDIT: Okay, so the problem was Z parameter of the checkpoint was too high. I've set it to 158 and now everything works. Sorry, my bad!