Help Team Cars
#6

If that doesnt work use "OnPlayerStateChange" This code should work:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
    {
        if(IsAYCar(vehicleid))
        {
             if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6)
             {
                 SendClientMessage(playerid, COLOR_WHITE, "You are a member from the mafia.");
             }
             else
             {
                 RemovePlayerFromVehicle(playerid); return  SendClientMessage(playerid, COLOR_WHITE, "Ne ste del od mafijata.");
             }
        }
    }
Reply


Messages In This Thread
Help Team Cars - by Dark Crow - 25.02.2012, 22:23
AW: Help Team Cars - by dalkgamler - 25.02.2012, 22:27
Re: Help Team Cars - by ryansheilds - 25.02.2012, 22:31
Re: Help Team Cars - by Dark Crow - 25.02.2012, 22:31
AW: Help Team Cars - by dalkgamler - 25.02.2012, 22:34
Re: Help Team Cars - by ryansheilds - 25.02.2012, 22:53

Forum Jump:


Users browsing this thread: 4 Guest(s)