LSPD Cars Problem
#10

If you choose to use @-Prodigy- way, change it to

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        new carid = GetPlayerVehicleID(playerid);
        if(PlayerInfo[playerid][Faction] == 1) {
            for(new i = 0; i < sizeof(LSPD); i++)
            {
                if(carid == LSPD[i])
                {
                    RemovePlayerFromVehicle(playerid);
                    SendErrorMessage(playerid, "You can't enter in the police cars");
                    break;
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
LSPD Cars Problem - by XStormiest - 07.08.2013, 09:45
Re: LSPD Cars Problem - by Skribblez - 07.08.2013, 09:50
Re: LSPD Cars Problem - by XStormiest - 07.08.2013, 09:53
Re: LSPD Cars Problem - by Misiur - 07.08.2013, 10:02
Re: LSPD Cars Problem - by XStormiest - 07.08.2013, 10:09
Re: LSPD Cars Problem - by Skribblez - 07.08.2013, 10:22
Re: LSPD Cars Problem - by Misiur - 07.08.2013, 10:25
Re: LSPD Cars Problem - by XStormiest - 07.08.2013, 10:30
Re: LSPD Cars Problem - by -Prodigy- - 07.08.2013, 10:30
Re: LSPD Cars Problem - by Misiur - 07.08.2013, 10:33

Forum Jump:


Users browsing this thread: 2 Guest(s)