[HELP]Needs Help WithCheckpoints
#1

Hey
I Have Some Checkpoints Problem...
I Want So Player Can Enter Checkpoint With Vehicle.
That Can Players But.. They Can Enter Checkpoint Without Vehicle.....
I Want So Player Only Can Enter With Vehicle.
Reply
#2

What kind of checkpoint are you using? Normal one or race checkpoints?
Also, you can do that with IsPlayerInAnyVehicle.
pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid) //or OnPlayerEnterCheckpoint
{
    if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "you're not in a vehicle");
    //---keep scripting normally here.
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)