[SOLVED] Fix command problems :\
#3

Код:
if (!strcmp("/fix", cmdtext))
  {
    if(GetPlayerMoney(playerid) < 999) return SendClientMessage(playerid, COLOR_YELLOW, "Your Car Can't Be Fixed Because You're Too Poor. R.I.P If It's In Fire.");
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_BRIGHTRED, "You're Not In A Vehicle! What Do You Want To Repair?");
    else {
    RepairVehicle(GetPlayerVehicleID(playerid));
    GivePlayerMoney(playerid, -1000);
    SendClientMessage(playerid, COLOR_SKYBLUE, "You Fixed Your Car For 1000$");
    }
    return 1;
  }
Edit : Torren Stop Posting Such Fast :P
________
Washington dispensaries
Reply


Messages In This Thread
[SOLVED] Fix command problems :\ - by pmk1 - 07.03.2010, 00:03
Re: I'd need some help with a problem :\ - by Torran - 07.03.2010, 00:09
Re: I'd need some help with a problem :\ - by aircombat - 07.03.2010, 00:13
Re: I'd need some help with a problem :\ - by pmk1 - 07.03.2010, 00:14
Re: I'd need some help with a problem :\ - by aircombat - 07.03.2010, 00:21
Re: I'd need some help with a problem :\ - by pmk1 - 07.03.2010, 00:31
Re: I'd need some help with a problem :\ - by aircombat - 07.03.2010, 00:33
Re: I'd need some help with a problem :\ - by pmk1 - 07.03.2010, 00:38
Re: [SOLVED] Fix command problems :\ - by aircombat - 07.03.2010, 00:43
Re: [SOLVED] Fix command problems :\ - by tuuler - 23.08.2011, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)