14.11.2010, 22:25
First of all, don't double post..
Second, what are you trying to achieve?
Like this?
Second, what are you trying to achieve?
Like this?
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(StarsCar[0] == vehicleid || StarsCar[1] == vehicleid)
if(team[playerid] != 6)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
else
if(UCCars[0] == vehicleid || UCCars[1] == vehicleid)
if(team[playerid] != 7)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
return 1;
}