-
Content Count
86 -
Joined
-
Last visited
Community Reputation
20 DecentAbout alex17"
-
Rank
Transformer
Details
-
Gang
gta:res
-
Location
peru
-
Occupation
sayayin
-
Interests
girls
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
esa linea esta llamando la funcion IsPlayerInFaction del scripts factions si te da ese error es por que el script no esta encendido
-
seguramente es por que tu codigo es lado client, proba con ewto addCommandHandler( "taximetro", function( ) local vehiculo = getPedOccupiedVehicle ( localPlayer ) local vehiculos = getVehicleName ( vehiculo ) if vehiculos == "Taxi" then if exports.factions:IsPlayerInFaction(localPlayer,10) then setElementData( vehiculo, "distancia", type( getElementData( vehiculo, "distancia" ) ) ~= "number" and 0 or false ) end end end )
-
[Ayuda] Blip attached bug - El blip no se mueve con el vehículo
alex17" replied to Razor70538's topic in Scripting
pues si no nos muestra el codigo no podemos hacer mucho para ayudarte -
local team = "Admin" function MarkerHit ( hitPlayer) local pteam = getPlayerTeam(hitPlayer) local nteam = getTeamName(pteam) if nteam == team then --- --- --- --- --- end end addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerHit )
-
function DarExp(Jugador, cmd,Usuario,Cantidad) local CuentaJugador = getAccountName (getPlayerAccount(Jugador)) if isObjectInACLGroup ( "user." .. CuentaJugador, aclGetGroup ( "Admin" ) ) then local Nombrejugador = getPlayerFromName(Usuario) local lvl = getElementData(Nombrejugador,"Nivel") local Exp = getElementData(Nombrejugador,"Experiencia") local progresoMaximo = getElementData(Nombrejugador, "ProgresoMaximo") local newexp = Exp + Cantidad setElementData(Nombrejugador,"Experiencia",newex) if newex >= progresoMaximo then setElementData(N
- 2 replies
-
- experiencia
- nivel
-
(and 1 more)
Tagged with:
-
triggerServerEvent ( client, "SaberRamaTrigger", client, pia )
-
function Siguientemarker1 (element) if element == localPlayer then if timer then killTimer(timer) timer = nil end timer = setTimer(Siguientemarker2, 30000, 1) setElementFrozen ( veh, true ) ------Aca deberia congelar siempre outputChatBox ("----------------------------",255,0,0, true) outputChatBox ("Cargando..." ,0,255,255, true) outputChatBox ("----------------------------",255,0,0, true) end end no veo en que parte defines que es "veh"
-
[LF] Scripter for Roleplay Server [Paid/Non-Paid]
alex17" replied to VinoGan's topic in Looking for staff
what type script need you? -
opino igual que la mayoria de aca que el unico niño que se cree "maduro" es gonzalo tuve un mal momento contigo pedias ayuda por skype y ensima te enojas por que uno no le entra a tus bromitas, si vas a pedir ayuda nunca esta demas perdir porfavor y si los demas se meten es por que esto es un foro publico si no quieres que nadie comente tus post para eso existe el mensaje privado.
-
function dxDrawPlayers() local players = 0 for k, player in ipairs(getElementsByType("player")) do local d = getElementDimension(player) local t = getPlayerTeam(player) if d == 10 and t and getTeamName(t) == "Vips" then players = players + 1 end end dxDrawText("Jugadores : "..players, ........) end addEventHandler("onClientRender", root, dxDrawPlayers)
-
error mio cambia getElementType por getElementsByType
-
torres = {} function CreateVisor ( thePlayer, commandName ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) if torres[thePlayer] then destroyElement(torres[thePlayer]) torres[thePlayer] = nil end torres[thePlayer] theObject = createObject ( 3279, x + 5, y + 0, z + -1, 0, 0, 0 ) if ( torres[thePlayer] ) then outputConsole ( "Visor puesto", thePlayer ) else outputConsole ( "Visor no puesto", thePlayer ) end end end addCommandHandler ( "visor", CreateVisor )
-
function onStartorLogin (_,acc) for k, player in ipairs(getElementType("player")) do local acc = getPlayerAccount(player) if acc then setElementData ( player, "car", getAccountData ( acc, "car" ) or false ) setElementData ( player, "moto", getAccountData ( acc, "moto" ) or false ) setElementData ( player, "air", getAccountData ( acc, "air" ) or false ) end end end addEventHandler("onPlayerLogin", getRootElement(), onStartorLogin ) function onResRestrt (_,acc) for k, player in ipairs(getElementType("player")) do