24.12.2012, 10:00
Hey guys so i got this cmd:
But when im in car id 525 (mech car) it still say you are not in a mechanics car!
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;
}