27.05.2010, 10:32
(
Последний раз редактировалось Kar; 28.12.2012 в 03:49.
)
How do I make a checkpoint? ;s
Originally Posted by Kar
how do i make a checkpoint ffs
|
SetPlayerCheckpoint(playerid, xxxx.xxxx, yyyy.yyyy, zzzz.zzzz, size.size); // remplace by your own x y z and size. This is checkpoint's position a size
public OnPlayerEnterCheckpoint(playerid)
{
SetPlayerInterior(playerid, interiorid); // change interiorid to the interior the player is going to be teleported.
SetPlayerPos(playerid, xxxx.xxxx, yyyy.yyyy, zzzz.zzzz); // same as first xyz, but this time xyz are pos player is going to be teleported.
SendClientMessage(playerid, COLOR, "* Congratulations, you found the hidden checkpoint, idiot!");
return 1;
}
Originally Posted by Kar
how do i make it enter a building kind sir..
|