How to create checkpoints inside interior using streamer?
#1

hi , as the title say's i am trying to create an checkpoint inside an interior but it is not showing up and here is my script(this is my first thread so please be kind (


Код:
new pizza1cp;

public OnGameModeInit()
{
	SetGameModeText("Freeroam RP Cops Race");
	DisableInteriorEnterExits();
	UsePlayerPedAnims();
        AddPlayerClass(270, 1682.7000,-2244.8999,13.5454,178.9000,0,0,0,0,0,0);



       //CHECKPOINTS FOR INTERIORS
       pizza1cp = CreateDynamicCP(373.9403,-119.2545,1001.4922, 3, -1, -1, -1, 100.0);
       return 1;
}

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
   if(checkpointid == pizza1cp)
{   
ShowInfoBox(playerid, 0x00000099, 10, "Welcome to Well Staced Pizza Co. WE ARE OUT OF STOCK!");
}
   return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)