*** Terrible Title Removed
#1

Solved
Reply
#2

From where is this and for what is this?
Reply
#3

what you mean from where??
Reply
#4

Код:
if(strcmp(cmdtext, "/work", true) == 0)
        {
			if(!GetVehicleModel(vehicleid) == 519) return SendClientMessage(playerid, COLOR_RED, "You Are Not In Shamal...");
            if (GetPVarInt(playerid, "Flight") == 1)
            {
                return SendClientMessage(playerid, COLOR_RED, "You are already in a flight!");
                }

                if (GetPVarInt(playerid, "Work") > 0)
                {
                    return SendClientMessage(playerid, COLOR_RED, "You are already in a work!");
                }


                new IslandName[48], szString[128];
                SetPVarInt(playerid, "Work", 1);
                MissionVehicle[playerid] = GetPlayerVehicleID(playerid);
               

                

                     switch(GetClosestAirport(0))
                {

                    case 0: {
                    Island[Las_Venturas][playerid]=SetPlayerFlightCheckpoint(playerid, 1476.5433,1465.9758,10.8281, 10.0);
                    IslandName="Las Venturas"; }

                    case 1: {
                    Island[Los_Santos][playerid] = SetPlayerFlightCheckpoint(playerid, 1869.8599,-2493.2256,13.5547, 10.0);
                    IslandName="Los Santos"; }

                    case 2: {
                    Island[San_Fierro][playerid] = SetPlayerFlightCheckpoint(playerid, -1437.0648,48.4609,14.1484, 10.0);
                    IslandName="San Fierro"; }



        }


                FirstAPName[playerid] = IslandName;
                format(szString, 128, "Go to %s to pick up the passengers!", IslandName);

                WorkTimer[playerid] = SetTimerEx("WorkingMinutes", 60000, true, "i", playerid);
                SendClientMessage(playerid, COLOR_LIGHTGREEN, szString);
try this code hope it will work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)