Repair car
#2

pawn Код:
if(strcmp(cmdtext,"/fix",true) == 0)
{
  if(GetPlayerState != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,red,"You need to be driving a vehicle!");
  SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
  SendClientMessage(playerid,COLOR_YELLOW,"Vehicle fixed");
  return 1;
}
There's a simple example for you
Reply


Messages In This Thread
Repair car - by Goobiiify - 18.08.2009, 13:51
Re: Repair car - by JaTochNietDan - 18.08.2009, 13:54
Re: Repair car - by Goobiiify - 18.08.2009, 13:59
Re: Repair car - by Weirdosport - 18.08.2009, 14:01
Re: Repair car - by Goobiiify - 18.08.2009, 14:06

Forum Jump:


Users browsing this thread: 4 Guest(s)