fix command
#10

pawn Код:
if(!strcmp(cmd,"/fix",true))
{
  if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR,"You are not an admin.");
  if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR,"You have to be inside a vehicle.");
  return SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
Reply


Messages In This Thread
fix command - by thuron - 03.03.2009, 16:54
Re: fix command - by Rks25 - 03.03.2009, 17:00
Re: fix command - by thuron - 03.03.2009, 17:04
Re: fix command - by Jefff - 03.03.2009, 17:09
Re: fix command - by [LNL]Remulis - 03.03.2009, 17:11
Re: fix command - by thuron - 03.03.2009, 17:13
Re: fix command - by Jefff - 03.03.2009, 17:16
Re: fix command - by thuron - 03.03.2009, 17:18
Re: fix command - by Rks25 - 03.03.2009, 17:22
Re: fix command - by MenaceX^ - 03.03.2009, 17:35

Forum Jump:


Users browsing this thread: 3 Guest(s)