SA-MP Forums Archive
OnPlayerEnterCheckpoint function help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerEnterCheckpoint function help (/showthread.php?tid=635027)



OnPlayerEnterCheckpoint function help - akib - 31.05.2017

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;
}



Re: OnPlayerEnterCheckpoint function help - OneDay - 31.05.2017

Streamer plugin.


Re: OnPlayerEnterCheckpoint function help - akib - 31.05.2017

Quote:
Originally Posted by OneDay
Посмотреть сообщение
Streamer plugin.
Example please....


Re: OnPlayerEnterCheckpoint function help - OneDay - 31.05.2017

https://sampforum.blast.hk/showthread.php?tid=102865