Warning 202
#5

Quote:
Originally Posted by BlackBomb
Посмотреть сообщение
pawn Код:
if(strcmp(cmdtext, "/repair", true) == 0)
    {
       if(!IsPlayerInAnyVehicle(playerid)) return  SendClientMessage(playerid, 0xFF0000AA, "You must be in a vehicle to repair it");
       if(!IsPlayerInRangeOfPoint(playerid, 5.0, 1607.2327, -1841.8683, 13.5116)) return SendClientMessage(playerid, 0xFF0000AA, "You are not at the Mechanic Place please get to there then /repair, use /whereismech to find the location");
       RepairVehicle(GetPlayerVehicleID(playerid));
       PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
       GivePlayerMoney (playerid, -5000);
       SendClientMessage(playerid, 0xFFC0C0C0, "You have repaired your vehicle and paid 5,000$ for it");
       return 1;
    }
thanks, The problem was with the parameter "playerid" , +rep

try this?
thanks, The problem was with the parameter "playerid" , +rep
Reply


Messages In This Thread
Warning 202 - by Sarra - 01.08.2014, 09:36
Re: Warning 202 - by Konstantinos - 01.08.2014, 09:43
Re: Warning 202 - by ReD_HunTeR - 01.08.2014, 09:43
Re: Warning 202 - by Sarra - 01.08.2014, 09:45
Re: Warning 202 - by Sarra - 01.08.2014, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)