Help Team Cars
#3

Try this, its what I use "OnPlayerEnterVehicle":
pawn Код:
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);
            new Float:cx, Float:cy, Float:cz;
            GetPlayerPos(playerid, cx, cy, cz);
            SetPlayerPos(playerid, cx, cy, cz);
            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: 1 Guest(s)