/kill bug
#1

When i use /kill inside a vehicle, my character can still exit the vehicle even it has no health, how can i make if i use /kill or killed inside a vehicle the characters behavior is just like single player? Thanks!
Reply
#2

Код:
if (IsPlayerInAnyVehicles(playerid)
{
  new Float:player_pos[3];
  GetPlayerPos(playerid, player_pos[0], player_pos[1], player_pos[2]);
  SetPlayerPos(playerid, player_pos[0], player_pos[1], player_pos[2]);
}
SetPlayerHealth(playerid, -1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)