job problems
#3

Above one is surely to give errors, use this one
pawn Код:
CMD:mowland(playerid, params[])
{
new vmodel = GetVehicleModel(GetPlayerVehicleID(playerid);
if(lawnmower[playerid] == 0) SendClientMessage(playerid, COLOR_RED, "[ERROR]{FFFFFF}You're not employed as lawnmower!") ;
else if(!IsPlayerInRangeOfPoint(playerid, 5,1878.5900,1758.6154,10.4470)) SendClientMessage(playerid, COLOR_RED, "[ERROR]{FFFFFF}You're not near mowers'job starting line!");
else if(vmodel == 572 || IsPlayerInRangeOfPoint(playerid,5,1878.5900,1758.6154,10.4470)
{
job[playerid] = 1;
SendClientMessage(playerid, COLOR_LIGHTGREEN, "[SUCCESS!]{FFFFFF}You've started lawnmowing. Go through checkpoints to finish your job!");
}
return 1;
}
Reply


Messages In This Thread
job problems - by Bek_Loking - 25.06.2014, 01:19
Re: job problems - by Abagail - 25.06.2014, 01:34
Re: job problems - by Laurey - 25.06.2014, 02:23

Forum Jump:


Users browsing this thread: 1 Guest(s)