dylan4021

parar explosão(old)

Aug 26th, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.35 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.         DestroyVehicle(vehicleid);
  9.         SendClientMessage(playerid, -1, "Seu carro for destruido por que ele ia explodir!");
  10.     }
  11.     return true;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment