normaly it should work...
#10

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER && GetVehicleModel(GetPlayerVehicleID(playerid))==432 && GetPlayerScore(playerid) < 100)
    {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, LIGHTRED,"You need At Least 100 Score to enter this Vehicle!");
    }
    return 1;
}
Please use this and not the ClearAnimation version, anything called under OnPlayerEnterVehicle can be bypassed by someone close enough to the car.
Reply


Messages In This Thread
normaly it should work... - by HardstylerNiko - 14.08.2010, 14:32
Re: normaly it should work... - by Redgie - 14.08.2010, 14:43
Re: normaly it should work... - by gamer931215 - 14.08.2010, 14:46
Re: normaly it should work... - by Redgie - 14.08.2010, 14:50
Re: normaly it should work... - by armyoftwo - 14.08.2010, 15:08
Re: normaly it should work... - by coole210 - 14.08.2010, 15:08
Re: normaly it should work... - by armyoftwo - 14.08.2010, 15:17
Re: normaly it should work... - by gamer931215 - 14.08.2010, 15:20
Re: normaly it should work... - by HardstylerNiko - 14.08.2010, 15:24
Re: normaly it should work... - by Redgie - 14.08.2010, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)