Create cp on command?
#1

Hey guys i got this command that should make a command and when you enter it, it should destroy itself and give some money?
How do i do this?
pawn Код:
COMMAND:startmech(playerid, params[]) // work at mechanic and receive $180
{
  if(!IsPlayerInRangeOfPoint(playerid, 30.0,2451.0056,-2118.1301,13.5469))return SendClientMessage(playerid, 0xE0313AFF, "(( [Mechanic]You are not at the mechanic HQ! ))");
  if(IsPlayerInVehicle(playerid, 525)) return SendClientMessage(playerid, 0xE0313AFF, "(( [Mechanic] You are not in a mechanics vehicle! ))");
  SendClientMessage(playerid, 0x3524C9FF, "(( [Mechanic] Deliver the tires to the checkpoint and receive your paycheck! ))");
  return 1;
}
Reply


Messages In This Thread
Create cp on command? - by NicholasA - 24.12.2012, 09:43
Re: Create cp on command? - by Konstantinos - 24.12.2012, 09:50
Re: Create cp on command? - by DaRk_RaiN - 24.12.2012, 09:56
Re: Create cp on command? - by Jack_Ryder - 24.12.2012, 09:57
Re: Create cp on command? - by Konstantinos - 24.12.2012, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)