house help
#2

Код:

public OnPlayerSpawn(playerid)
{
   if(IsPlayerInRangeOfPoint(playerid, 7.0, //coords here near the checkpoint))
    SetPlayerCheckpoint(playerid, //Do /save ingame then copy the coordinates to here (Here will go the red thing)., 3.0);
    return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
    SetPlayerPos(playerid,//Put here where you want the player to teleport (/save as well) ,6.0)
    SetPlayerInterior(playerid, 1);
    return 1;
}
Reply


Messages In This Thread
house help - by \\ BlenderBoy // - 08.03.2011, 00:30
Respuesta: house help - by Alex_Obando - 08.03.2011, 00:45
Re: Respuesta: house help - by \\ BlenderBoy // - 08.03.2011, 16:50
Re: house help - by HyperZ - 08.03.2011, 16:51
Re: house help - by \\ BlenderBoy // - 08.03.2011, 19:15
Re: house help - by antonio112 - 08.03.2011, 20:25

Forum Jump:


Users browsing this thread: 1 Guest(s)