What is wrong
#4

pawn Код:
if(strcmp(cmdtext, "/tune", true) == 0) {
        if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) {
            new playerstate = GetPlayerState(playerid);
            if(playerstate == PLAYER_STATE_DRIVER) {
                return ModCar(playerid);
            }
            else {
               return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot modify/tune a car unless you are the driver.");
            }
        }
        return 1;
    }
Reply


Messages In This Thread
What is wrong - by boyan96 - 06.06.2012, 16:28
Re: What is wrong - by San1 - 06.06.2012, 16:36
Re: What is wrong - by boyan96 - 06.06.2012, 17:03
Re: What is wrong - by MadeMan - 06.06.2012, 17:30

Forum Jump:


Users browsing this thread: 1 Guest(s)