15.11.2010, 23:28
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(StarsCar[0] <= vehicleid <= StarsCar[1] && ispassenger==1)
if(team[playerid] != 6)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
if(UCCars[0] <= vehicleid <= UCCars[1])
if(team[playerid] != 7)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
return 1;
}