17.06.2014, 21:27
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;
}