NetherZ Posted September 22, 2014 Share Posted September 22, 2014 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 Link to comment
TheOskar Posted September 23, 2014 Share Posted September 23, 2014 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 ) Link to comment
Recommended Posts