How can i make a team not able to drive or sit in a vehicle?
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(PlayerInfo[playerid][pTeam] == YOURTEAMID)
    {
        SendClientMessage(playerid,COL_RED,"Welcome back .....");
    }
    else
    {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid,COL_RED,"This is not your team vehicle!");
    }
    return 1;
}
Example for you.
Reply


Messages In This Thread
How can i make a team not able to drive or sit in a vehicle? - by Johnson_Brooks - 17.06.2014, 21:20
Re: How can i make a team not able to drive or sit in a vehicle? - by Dziugsas - 17.06.2014, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)