Other players can't enter dynamic checkpoint.
#1

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:
Код:
new g_cluckingbell_enter[MAX_PLAYERS];
Under gamemode init:
Код:
g_cluckingbell_enter[0]= CreateDynamicCP(2419.9421,-1509.0177,24.0000, 1.0, -1, -1, -1, 20);
Callback:
Код:
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;
}
I also tried replacing new streamer with old one, complied again, and nothing.
Reply


Messages In This Thread
Other players can't enter dynamic checkpoint. - by Fratello - 07.01.2018, 11:14
Re: Other players can't enter dynamic checkpoint. - by Hunud - 07.01.2018, 11:24
Re: Other players can't enter dynamic checkpoint. - by zsoolt997 - 07.01.2018, 11:29
Re: Other players can't enter dynamic checkpoint. - by Fratello - 07.01.2018, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)