07.01.2018, 11:14
This is my first time facing this problem. Me (ID: 0) can enter the checkpoint while other players (ID 1+) can't. It looks like OnPlayerEnterDynamicCP callback isn't activated. They only stand there, in the checkpoint.
I saw a couple of posts like mine, without answers and solutions.
Definition of the var:
Under gamemode init:
Callback:
I also tried replacing new streamer with old one, complied again, and nothing.
I saw a couple of posts like mine, without answers and solutions.
Definition of the var:
Код:
new g_cluckingbell_enter[MAX_PLAYERS];
Код:
g_cluckingbell_enter[0]= CreateDynamicCP(2419.9421,-1509.0177,24.0000, 1.0, -1, -1, -1, 20);
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid) { if(checkpointid== g_cluckingbell_enter[playerid]) { SetPlayerInterior(playerid, 9); SetPlayerPos(playerid, 364.8975,-10.5706,1001.8516); SetPlayerFacingAngle(playerid, 359.5678); } return 1; }