Jump to content

CREAR GRUPOS O FACCIONES !


NetherZ

Recommended Posts

Posted

HOLA QUISIERA SABER COMO PUEDO CREAR UN GRUPO PARA UN SERVER EJEMPLO UN GRUPO DE UN TRABAJO POR EJEMPLO TAXISTA.

LOS TAXISTAS NECESITAN VEVHICULO COMO AGO PARA QUE OTRA PERSONA NO PUEDE ACCEDER A ESTE VEHICULO SOLO LOS TAXISTAS PODRÁN COMO ARIA ESTO

OJALA SEA ESPECIFICO SI NO ENTIENDEN POR FAVOR AGREGUEMEN EN SKYPE: NetherZ.M4

Posted
local Taxis = createTeam("Taxistas", 255, 255, 0) --Esto Crearía el Team de los Taxistas ---Creara el "Equipo" o Team. 
function EntrarTaxi ( player, seat )  
local TheTeam = getPlayerTeam(player) 
local elCarro = getElementModel(source) 
local TheTaxis = getTeamFromName("Taxistas") 
if (elCarro == 420) and not(  TheTeam == TheTaxis) then  
  cancelEvent() 
 outputChatBox ( "Solo los Taxistas pueden entrar a esté Vehiculo", player,255,0,0 ) ---Mensaje cuando Alguien que no este en el Team Trate de entrar a un Taxi 
 end 
end 
  
addEventHandler ( "onVehicleStartEnter", getRootElement(), EntrarTaxi ) 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...