14.11.2010, 21:47
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
if(StarsCar[0] <= vehicleid <= StarsCar[1])
if(team[playerid] != 6)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
else
if(UCCars[0] <= vehicleid <= UCCars[1])
if(team[playerid] != 7)
ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
return 1;
}
I doesn't give any errors, but it doesn't work in game =/