Server question for job details
#4

Quote:
Originally Posted by yaron0600
Посмотреть сообщение
Yeah but man , Add a SendClientMessage That you cant do these from that level , You should be 7+...
Sorry I posted the wrong code my mind is slipping with old age lol.
pawn Код:
if (strcmp("/sweep", cmdtext, true, 10) == 0)
    {
       if(PlayerInfo[playerid][pLevel] >= 7)
       {
         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 574)
         {
            sweeper[playerid] = 1;
            SetPlayerColor(playerid, COLOR_JOB);
            ToggleEngine(carsweeper[1], VEHICLE_PARAMS_ON);
            ToggleEngine(carsweeper[2], VEHICLE_PARAMS_ON);
            ToggleEngine(carsweeper[3], VEHICLE_PARAMS_ON);
            SetPlayerCheckpoint(playerid, SweeperCheckPoint1, 3.0);
            new string[18];
            format(string, sizeof(string), "You startet Sweeper Job");
            GameTextForPlayer(playerid, string, 3000, 1);
            format(string, sizeof(string), "Sweeper: You start like sweeper.....");
            SendClientMessage(playerid, COLOR_ORANGE, string);
            return 1;
        } else {
        SendClientMessage(playerid, COLOR_GRAD1,"You must entry in sweeper..!");
        SendClientMessage(playerid, COLOR_GRAD1,"You must be level 7 to use this job!");
        }

    return 1;
    }
Reply


Messages In This Thread
Server question for job details - by Yordan_Kronos - 11.05.2013, 08:04
Re: Server question for job details - by rebelgaming - 11.05.2013, 08:18
Re: Server question for job details - by yaron0600 - 11.05.2013, 08:24
Re: Server question for job details - by rebelgaming - 11.05.2013, 08:28

Forum Jump:


Users browsing this thread: 1 Guest(s)