question
#1

Is this possible
How to make an Checkpoint you go in there and go to bank etc.
but in Sf i got too bank how to do he entered te pos i go old pos not in SF
is that possible?
Reply
#2

Yes,

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid,6.0,X,Y,Z) // This checkpoint will teleport the player to the bank
    {
        SetPlayerPos(playerid, X, Y,Z); // Replace X, y, z with your cordinates where you want player to be teleported
        return 1;
    }
    if(IsPlayerInRangeOfPoint(playerid,6.0,X,Y,Z) // This checkpoint will send him back
    {
        SetPlayerPos(playerid, X, Y,Z); // Replace X, y, z with your cordinates where you want player to be teleported
        return 1;
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)