OnPlayerEnterCheckpoint function help
#1

Ok,
How i can do it like:

Код:
new cp1;

public OnPlayerSpawn(playerid)
{
    cp1 = SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	if(checkpointid == cp1)
	{
		CreateVehicle(520, 1982.6150, -221.0145, -0.2432, 82.2873, -1, -1, 60000);
	 	DisablePlayerCheckpoint(playerid);
	}
    return 1;
}
Reply


Messages In This Thread
OnPlayerEnterCheckpoint function help - by akib - 31.05.2017, 04:34
Re: OnPlayerEnterCheckpoint function help - by OneDay - 31.05.2017, 05:28
Re: OnPlayerEnterCheckpoint function help - by akib - 31.05.2017, 05:34
Re: OnPlayerEnterCheckpoint function help - by OneDay - 31.05.2017, 05:39

Forum Jump:


Users browsing this thread: 1 Guest(s)