Please Help Me Creating Checkpoints
#1

Hi friends please help me to creating checkpoints when player go to checkpoint it show a dialog with options reload weapons_ Reset Health and Armour when we choose a option it give players to weapon or health i want to add this checkpoint for my cops and robbers server plzzz help me
Reply
#2

First of all you must create the checkpoint for the player, Use this.
pawn Код:
SetPlayerCheckpoint(playerid, X, Y, Z, 3.0);
// 3.0 is the size, You can create unvisible Checkpoint by setting the size to 0.0
Now, Use this.
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, X, Y, Z))
    {
    ShowPlayerDialog // ect

    }
The coordinates X,Y,Z must be changed to your coordinates.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)