Need Small help Rep +
#1

Код:
        if(newstate == PLAYER_STATE_DRIVER) return GetPlayerVehicleID(playerid);
        if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)
        {
            for(new passengerid = 0; passengerid < MAX_PLAYERS; passengerid++)
            {
                if(IsPlayerConnected(passengerid) && GetPlayerVehicleID(passengerid) == GetPlayerVehicleID(playerid))
                {
                    RemovePlayerFromVehicle(passengerid);
                    SendClientMessage(passengerid, 0xFF0000FF, "The driver is leaving the vehicle!");
                        }
                }
                return 1;
        }

Hello I've problem with this code ,I'm using Anti G abuse script the script work fine when driver not in vehicle but it not work fine when driver leave vehicle ..How i can Fix it ?
Reply


Messages In This Thread
Need Small help Rep + - by MBilal - 20.01.2015, 04:43
Re: Need Small help Rep + - by ChandraLouis - 20.01.2015, 04:48
Re: Need Small help Rep + - by Ryz - 20.01.2015, 04:49
Re: Need Small help Rep + - by MBilal - 20.01.2015, 04:51
Re: Need Small help Rep + - by xVIP3Rx - 20.01.2015, 04:51
Re: Need Small help Rep + - by MBilal - 20.01.2015, 05:02

Forum Jump:


Users browsing this thread: 1 Guest(s)