Pls help!
#1

How to make car respawn after reaching checkpoint ?
Reply
#2

PHP код:
public OnPlayerEnterDynamicCP(playeridcheckpointid)
{
    switch(
checkpointid)
    {
        case 
your_cp:
        {
            if(
IsPlayerInAnyVehicle(playerid))
            {
                
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
            }
        }
    }
    return 
1;

Reply
#3

Tnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)