CMD Does not recognize car
#1

Hey guys so i got this cmd:

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! ))");
  SetPlayerCheckpoint(playerid, 848.1696,-1445.7803,13.5762, 5.0);
  return 1;
}
But when im in car id 525 (mech car) it still say you are not in a mechanics car!
Reply


Messages In This Thread
CMD Does not recognize car - by NicholasA - 24.12.2012, 10:00
Re: CMD Does not recognize car - by Konstantinos - 24.12.2012, 10:06
Re: CMD Does not recognize car - by Hiddos - 24.12.2012, 10:12
Re: CMD Does not recognize car - by NicholasA - 24.12.2012, 10:15
Re: CMD Does not recognize car - by Konstantinos - 24.12.2012, 10:21

Forum Jump:


Users browsing this thread: 2 Guest(s)