Problem with OnPlayerEnterVehicle
#7

Move it on ''OnPlayerStateChange''
and add this:

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == grovesreigtasparnis)
    {
        if(PInfo[playerid][grove] == 0)
        {
            SendClientMessage(playerid, RAUDONA, "[Serveris]{4FB34D} ?is Transportas skirtas tik Grove Street Nariams!");
            RemovePlayerFromVehicle(playerid);
        }
        else SendClientMessage(playerid, ZALIA, "Sveiki Grove Street Nari!");
    }
}
Reply


Messages In This Thread
Problem with OnPlayerEnterVehicle - by Tadas - 21.03.2014, 09:11
Re: Problem with OnPlayerEnterVehicle - by Hanuman - 21.03.2014, 09:16
Re: Problem with OnPlayerEnterVehicle - by MythicalMarauder - 21.03.2014, 09:18
Re: Problem with OnPlayerEnterVehicle - by Tadas - 21.03.2014, 09:33
Re: Problem with OnPlayerEnterVehicle - by Hanuman - 21.03.2014, 09:35
Re: Problem with OnPlayerEnterVehicle - by Tadas - 21.03.2014, 09:47
Re: Problem with OnPlayerEnterVehicle - by LocMax - 21.03.2014, 09:54
Re: Problem with OnPlayerEnterVehicle - by Hanuman - 21.03.2014, 09:54
Re: Problem with OnPlayerEnterVehicle - by Lloyde - 21.03.2014, 10:03
Re: Problem with OnPlayerEnterVehicle - by Tadas - 21.03.2014, 10:09

Forum Jump:


Users browsing this thread: 6 Guest(s)