28.04.2014, 15:56
Quote:
You would use this https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint
for example of use: Код:
public OnPlayerSpawn(playerid) { SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); return 1; } public OnPlayerEnterCheckpoint(playerid) { SetPlayerPos(playerid,1982.6150, -220.6680, -0.2432);//change pos to what ever your interior position SetPlayerVirtualWorld(playerid, 69);// You would change the virtual world to your interior vw. DisablePlayerCheckpoint(playerid); return 1; } |
i want create several checkpoints not only one...
how to do that with this script?