09.10.2011, 20:54
1°
Modelo = Modelo do veiculo(Nao e id nao).
2°
coloque no comando:
3°
X,Y,Z = coordenadas que se for administrador ele nasce.
#FireCat Ninja...
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == Modelo ) if(PlayerInfo[playerid][pAdmin] == 0) return RemovePlayerFromVehicle(playerid);
return 1;
}
2°
coloque no comando:
pawn Код:
if(PlayerInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid,-1,"APenas Admins");
pawn Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pAdmin] >= 1) return SetPlayerPos(playerid,x,y,z);
return 1;
}
#FireCat Ninja...