Timer/RemovePlayerFromVehicle
#1

Ive made a cage,
If someone gets in my car a cage rises,
The timer then starts and when 10 seconds is over the cage sinks,
But it also removes you from vehicle, But it seems to be removing everyone from there vehicle,
How to make it so it just removes the player in my car and no1 else
Reply
#2

pawn Код:
if(IsPlayerInVehicle(GetPlayerVehicleID(playerid),otherplayerid))
{
   RemovePlayerFromVehicle(otherplayerid);
   return 1;
}
Like that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)