dylan4021

parar explosão

Aug 26th, 2011
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.39 KB | None | 0 0
  1. forward DestruirExplodindo(playerid);
  2. public DestruirExplodindo(playerid)
  3. {
  4.     new Float: VidaCarro,
  5.         vehicleid = GetPlayerVehicleID(playerid);
  6.     GetVehicleHealth(vehicleid, VidaCarro);
  7.     if(VidaCarro < 300) {
  8.         RemovePlayerFromVehicle(playerid);
  9.         DestroyVehicle(vehicleid);
  10.         SendClientMessage(playerid, -1, "Seu carro for destruido por que ele ia explodir!");
  11.     }
  12.     return true;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment