/hydraulics command help
#3

pawn Код:
dcmd_hydraulics(playerid,params[])
{
  #pragma unused params
  if(IsPlayerInInvalidPimpVehicle(playerid,GetPlayerVehicleID(playerid))) return SendClientMessage(playerid,COLOR_YELLOW,"You can't add hydraulics to this vehicle!");
  if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFF00AA, "Get a car first!");
  AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
  SendClientMessage(playerid,COLOR_YELLOW,"You now have Hydraulics!"));
  return 1;
}
Should work, untested.
Reply


Messages In This Thread
/hydraulics command help - by indy-greg - 02.09.2009, 13:05
Re: /hydraulics command help - by Jose 510 - 21.09.2009, 06:54
Re: /hydraulics command help - by Mikep. - 21.09.2009, 07:39

Forum Jump:


Users browsing this thread: 1 Guest(s)