Jump to content

[Ayuda]Panel VIP


elchinooo98

Recommended Posts

Hola soy nuevo en todo esto de scripts y necesito ayuda con un panel VIP que hice desde 0 porque al apretar un boton ej:"chaleco VIP" les da el chaleco a todos los players ya sea con el boton de jetpack o el de armas les dejo el Client side y el server side ya que no me molestaria que lo usen solo quiero una ayuda

Client Side:

function vip() 
    triggerServerEvent ( "ClientHaveLevel", getLocalPlayer() ) 
end 
addCommandHandler ("vip", vip) 
function vip1 () 
        ventana = guiCreateWindow(259, 182, 277, 232, "Panel VIP", false) 
        guiWindowSetSizable(ventana, false) 
        jtpkon = guiCreateButton(10, 102, 123, 46, "Jetpack:ON", false, ventana) 
        chaleco = guiCreateButton(143, 102, 123, 46, "Chaleco VIP", false, ventana) 
        cerrar = guiCreateButton(143, 169, 123, 46, "Cerrar", false, ventana) 
        armas = guiCreateButton(10, 27, 123, 46, "Armas VIP", false, ventana) 
        skin = guiCreateButton(143, 27, 123, 46, "Skin VIP", false, ventana) 
        jtpkoff = guiCreateButton(10, 169, 123, 46, "Jetpack:OFF", false, ventana)      
        showCursor (true) 
        addEventHandler ("onClientGUIClick", armas, arma, false) 
        addEventHandler ("onClientGUIClick", skin, skin1, false) 
        addEventHandler ("onClientGUIClick", chaleco, chaleco1, false) 
        addEventHandler ("onClientGUIClick", cerrar, Exit, false) 
        addEventHandler ("onClientGUIClick", jtpkon, jeton, false) 
        addEventHandler ("onClientGUIClick", jtpkoff, jetoff, false) 
end 
addEvent( "ShowVipPanel", true ) 
addEventHandler( "ShowVipPanel", getRootElement(), vip1) 
function arma () 
showCursor (true) 
triggerServerEvent ( "onGreeting", getRootElement() ) 
end 
  
function skin1 () 
showCursor (true) 
triggerServerEvent ( "skinvip", getRootElement() ) 
end 
  
function chaleco1 () 
showCursor (true) 
triggerServerEvent ( "chalecovip", getRootElement() ) 
end 
  
function Exit () 
showCursor (false) 
guiSetVisible (ventana, not guiGetVisible ( ventana ) ) 
end 
  
function jeton () 
showCursor (true) 
triggerServerEvent ( "jetpkon", getRootElement() ) 
end 
  
function jetoff () 
showCursor (true) 
triggerServerEvent ( "jetpkoff", getRootElement() ) 
end 
  
  

Server Side:

function PlayerHaveLevel( ) 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
        triggerClientEvent(source, "ShowVipPanel", source ) 
    else 
        outputChatBox("No eres Vip",source) 
    end 
end 
  
  
addEvent( "ClientHaveLevel", true ) 
addEventHandler( "ClientHaveLevel", getRootElement(), PlayerHaveLevel ) 
  
function greetingHandler () 
    giveWeapon ( source, 31, 999999 ) 
    giveWeapon ( source, 24, 999999 ) 
    giveWeapon ( source, 27, 999999 ) 
    giveWeapon ( source, 28, 999999 ) 
    giveWeapon ( source, 34, 999999 ) 
    giveWeapon ( source, 17, 999999 ) 
    giveWeapon ( source, 46, 999999 ) 
end 
addEvent( "onGreeting", true ) 
addEventHandler( "onGreeting", getRootElement(), greetingHandler ) 
----------------------------------------------------------------------------------- 
function skin () 
setElementModel ( source, 165 ) 
end 
addEvent( "skinvip", true ) 
addEventHandler( "skinvip", getRootElement(), skin ) 
----------------------------------------------------------------------------------- 
function chaleco () 
setPedArmor (source,100) 
end 
addEvent( "chalecovip", true ) 
addEventHandler( "chalecovip", getRootElement(), chaleco ) 
----------------------------------------------------------------------------------- 
function jtpk1 () 
givePedJetPack ( source ) 
end 
addEvent( "jetpkon", true ) 
addEventHandler( "jetpkon", getRootElement(), jtpk1 ) 
  
----------------------------------------------------------------------------------- 
function jtpk2 () 
removePedJetPack ( source ) 
end 
addEvent( "jetpkoff", true ) 
addEventHandler( "jetpkoff", getRootElement(), jtpk2 ) 

Link to comment

Puerva cambiando los Trigger

client

-- esto -- 
triggerServerEvent ( "onGreeting", getRootElement() )  
--- por esto -- 
 triggerServerEvent("onGreeting", localPlayer)  

server

function greetingHandler () 
    giveWeapon ( source, 31, 999999 ) 
    giveWeapon ( source, 24, 999999 ) 
    giveWeapon ( source, 27, 999999 ) 
    giveWeapon ( source, 28, 999999 ) 
    giveWeapon ( source, 34, 999999 ) 
    giveWeapon ( source, 17, 999999 ) 
    giveWeapon ( source, 46, 999999 ) 
end 
addEvent( "onGreeting", true ) 
addEventHandler( "onGreeting", root, greetingHandler ) 

Link to comment
Puerva cambiando los Trigger

client

-- esto -- 
triggerServerEvent ( "onGreeting", getRootElement() )  
--- por esto -- 
 triggerServerEvent("onGreeting", localPlayer)  

server

function greetingHandler () 
    giveWeapon ( source, 31, 999999 ) 
    giveWeapon ( source, 24, 999999 ) 
    giveWeapon ( source, 27, 999999 ) 
    giveWeapon ( source, 28, 999999 ) 
    giveWeapon ( source, 34, 999999 ) 
    giveWeapon ( source, 17, 999999 ) 
    giveWeapon ( source, 46, 999999 ) 
end 
addEvent( "onGreeting", true ) 
addEventHandler( "onGreeting", root, greetingHandler ) 

Muchas Gracias alex mee sirvio mucho ahora mi panel anda perfecto :D

Link to comment
  
function abrirYCerrar( ) 
   if guiGetVisible(ventana) then 
      guiSetVisible(ventana,false) 
      showCursor(false) 
   else    
      guiSetVisible(ventana,true) 
      showCursor(true) 
   end 
end    
bindKey("F1","down",abrirYCerrar) 
  

una pregunta esto va del lado del client?

Link to comment
Sí.

Graciass men :) pero no me andubo porque yo tengo para abrir la GUI con un trigger y si pongo esta funcion que vos me pasaste no me sirve porque la ventana no se me abre y si se abre la van a poder abrir todos cosa que no quiero y del lado del server para que se abra con f5 y que solo la puedan abrir los vip nose como hacerlo una ayuda referente a mi resource? disculpa si no me explico bien

Link to comment
Para evitar los triggers puedes hacer que cuando el jugador se loguee detecte si es VIP, si es VIP se le setee un elementData, luego desde el cliente detectas si es VIP y listo, a mi función sólo tendrías que agregarle un getElementData

disculpa mi ignorancia y puede seer que te paresca molesto pero no entiendo bien como usar los elementData y no sabria como posicionarlo

Link to comment
  • Administrators

Creas un elementData server-side con setElementData y lo lees con getElementData.

La manera de hacerlo podría ser:

Server:

  
function onLogin() 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
    setElementData(source,"vip",true) 
    else 
    setElementData(source,"vip",false) 
    end 
end 
addEventHandler("onPlayerLogin",root,onLogin) 
  

Client:

  
function abrirYCerrar( ) 
   if getElementData(getLocalPlayer(),"vip") == true then 
        if guiGetVisible(ventana)  then 
        guiSetVisible(ventana,false) 
        showCursor(false) 
        else   
        guiSetVisible(ventana,true) 
        showCursor(true) 
        end 
   end 
end   
bindKey("F1","down",abrirYCerrar) 

Link to comment
Creas un elementData server-side con setElementData y lo lees con getElementData.

La manera de hacerlo podría ser:

Server:

  
function onLogin() 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
    setElementData(source,"vip",true) 
    else 
    setElementData(source,"vip",false) 
    end 
end 
addEventHandler("onPlayerLogin",root,onLogin) 
  

Client:

  
function abrirYCerrar( ) 
   if getElementData(getLocalPlayer(),"vip") == true then 
        if guiGetVisible(ventana)  then 
        guiSetVisible(ventana,false) 
        showCursor(false) 
        else   
        guiSetVisible(ventana,true) 
        showCursor(true) 
        end 
   end 
end   
bindKey("F1","down",abrirYCerrar) 

mmm nose por ahi lo puse mal pero lo deje asi y si apreto F2 solo me aparece el cursor pero no el panel

Client:

function vip() 
    triggerServerEvent ( "ClientHaveLevel", getLocalPlayer() ) 
end 
  
function abrirYCerrar( ) 
   if getElementData(getLocalPlayer(),"vip") == true then 
        if guiGetVisible(ventana)  then 
        guiSetVisible(ventana,false) 
        showCursor(false) 
        else   
        guiSetVisible(ventana,true) 
        showCursor(true) 
        end 
   end 
end   
  
bindKey("F2","down",abrirYCerrar) 
  
function vip1 () 
        ventana = guiCreateWindow(202, 174, 415, 223, "Panel VIP", false) 
        guiWindowSetSizable(ventana, false) 
  
        jtpkon = guiCreateButton(10, 102, 123, 46, "Jetpack:ON", false, ventana) 
        chaleco = guiCreateButton(143, 102, 123, 46, "Chaleco", false, ventana) 
        cerrar = guiCreateButton(143, 169, 123, 46, "Cerrar", false, ventana) 
        armas = guiCreateButton(10, 27, 123, 46, "Armas VIP", false, ventana) 
        skin = guiCreateButton(143, 27, 123, 46, "Skin VIP", false, ventana) 
        jtpkoff = guiCreateButton(10, 169, 123, 46, "Jetpack:OFF", false, ventana) 
        stats = guiCreateButton(276, 27, 120, 46, "Estadisticas\n al\n Maximo", false, ventana)      
        showCursor (true) 
        addEventHandler ("onClientGUIClick", armas, arma, false) 
        addEventHandler ("onClientGUIClick", skin, skin1, false) 
        addEventHandler ("onClientGUIClick", chaleco, chaleco1, false) 
        addEventHandler ("onClientGUIClick", cerrar, Exit, false) 
        addEventHandler ("onClientGUIClick", jtpkon, jeton, false) 
        addEventHandler ("onClientGUIClick", jtpkoff, jetoff, false) 
        addEventHandler ("onClientGUIClick", stats, estats, false) 
end 
addEvent( "ShowVipPanel", true ) 
addEventHandler( "ShowVipPanel", getRootElement(), vip1) 
function arma () 
showCursor (true) 
triggerServerEvent("onGreeting", localPlayer) 
end 
  
function skin1 () 
showCursor (true) 
triggerServerEvent ( "skinvip", getRootElement() ) 
end 
  
function chaleco1 () 
showCursor (true) 
triggerServerEvent ( "chalecovip", localPlayer ) 
end 
  
function Exit () 
showCursor (false) 
guiSetVisible (ventana, not guiGetVisible ( ventana ) ) 
end 
  
function jeton () 
showCursor (true) 
triggerServerEvent ( "jetpkon", localPlayer ) 
end 
  
function jetoff () 
showCursor (true) 
triggerServerEvent ( "jetpkoff", localPlayer ) 
end 
  
function estats () 
showCursor (true) 
triggerServerEvent ( "max", localPlayer ) 
end 

Server

function onLogin() 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
    setElementData(source,"vip",true) 
    else 
    setElementData(source,"vip",false) 
    end 
end 
addEventHandler("onPlayerLogin",root,onLogin) 
  
function PlayerHaveLevel( ) 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
        triggerClientEvent(source, "ShowVipPanel", source ) 
    else 
        outputChatBox ( "#FF0000No Sos VIP Para Abrir Este Panel", getRootElement(), 255, 255, 255, true ) 
    end 
end 
  
  
addEvent( "ClientHaveLevel", true ) 
addEventHandler( "ClientHaveLevel", getRootElement(), PlayerHaveLevel ) 
  
function greetingHandler () 
    giveWeapon ( source, 31, 999999 ) 
    giveWeapon ( source, 24, 999999 ) 
    giveWeapon ( source, 27, 999999 ) 
    giveWeapon ( source, 28, 999999 ) 
    giveWeapon ( source, 34, 999999 ) 
    giveWeapon ( source, 17, 999999 ) 
    giveWeapon ( source, 46, 999999 ) 
end 
addEvent( "onGreeting", true ) 
addEventHandler( "onGreeting", root, greetingHandler ) 
----------------------------------------------------------------------------------- 
function skin () 
setElementModel ( source, 165 ) 
end 
addEvent( "skinvip", true ) 
addEventHandler( "skinvip", getRootElement(), skin ) 
----------------------------------------------------------------------------------- 
function chaleco () 
setPedArmor (source,100) 
end 
addEvent( "chalecovip", true ) 
addEventHandler( "chalecovip", getRootElement(), chaleco ) 
----------------------------------------------------------------------------------- 
function jtpk1 () 
givePedJetPack ( source ) 
end 
addEvent( "jetpkon", true ) 
addEventHandler( "jetpkon", getRootElement(), jtpk1 ) 
  
----------------------------------------------------------------------------------- 
function jtpk2 () 
removePedJetPack ( source ) 
end 
addEvent( "jetpkoff", true ) 
addEventHandler( "jetpkoff", getRootElement(), jtpk2 ) 
  
----------------------------------------------------------------------------------- 
function estat () 
setPedStat(source, 23, 999) 
setPedStat(source, 24, 999) 
setPedStat(source, 69, 999) 
setPedStat(source, 70, 999) 
setPedStat(source, 71, 999) 
setPedStat(source, 72, 999) 
setPedStat(source, 73, 999) 
setPedStat(source, 74, 999) 
setPedStat(source, 75, 999) 
setPedStat(source, 76, 999) 
setPedStat(source, 77, 999) 
setPedStat(source, 78, 999) 
setPedStat(source, 79, 999) 
setPedStat(source, 229, 999) 
setPedStat(source, 225, 999) 
end 
addEvent( "max", true ) 
addEventHandler( "max", root, estat ) 

Link to comment
Intenta colocando la función del bindKey debajo de la función de la GUI, o quitando la función de la GUI.

mmm noop ya lo probe y nada no me salee gracias por tu ayuda si me lo podrias hacer vos y pasarmelo por pm o por aca todo como tendria que quedar el client y el server te lo agradeceria porque a mi no me sale

Link to comment
  
-- Client side 
  
        ventana = guiCreateWindow(202, 174, 415, 223, "Panel VIP", false) 
        guiWindowSetSizable(ventana, false) 
        guiSetVisible(ventana,false) 
        jtpkon = guiCreateButton(10, 102, 123, 46, "Jetpack:ON", false, ventana) 
        chaleco = guiCreateButton(143, 102, 123, 46, "Chaleco", false, ventana) 
        cerrar = guiCreateButton(143, 169, 123, 46, "Cerrar", ventana) 
        armas = guiCreateButton(10, 27, 123, 46, "Armas VIP", false, ventana) 
        skin = guiCreateButton(143, 27, 123, 46, "Skin VIP", false, ventana) 
        jtpkoff = guiCreateButton(10, 169, 123, 46, "Jetpack:OFF", false, ventana) 
        stats = guiCreateButton(276, 27, 120, 46, "Estadisticas\n al\n Maximo", false, ventana)     
  
  
function arma () 
triggerServerEvent("onGreeting", localPlayer) 
end 
  
function abrirYCerrar( ) 
   if getElementData(getLocalPlayer(),"vip") == true then 
        if guiGetVisible(ventana)  then 
        guiSetVisible(ventana,false) 
        showCursor(false) 
        else   
        guiSetVisible(ventana,true) 
        showCursor(true) 
        end 
   end 
end   
  
bindKey("F2","down",abrirYCerrar) 
  
function skin1 () 
showCursor (true) 
triggerServerEvent ( "skinvip", getRootElement() ) 
end 
addEvent("skin1",true) 
function chaleco1 () 
showCursor (true) 
triggerServerEvent ( "chalecovip", localPlayer ) 
end 
  
function Exit () 
showCursor (false) 
guiSetVisible (ventana, false ) 
end 
  
function jeton () 
triggerServerEvent ( "jetpkon", localPlayer ) 
end 
  
function jetoff () 
triggerServerEvent ( "jetpkoff", localPlayer ) 
end 
  
function estats () 
triggerServerEvent ( "max", localPlayer ) 
end 
  
addEventHandler ("onClientGUIClick", armas, arma) 
addEventHandler ("onClientGUIClick", skin, skin1) 
addEventHandler ("onClientGUIClick", chaleco, chaleco1) 
addEventHandler ("onClientGUIClick", cerrar, Exit) 
addEventHandler ("onClientGUIClick", jtpkon, jeton) 
addEventHandler ("onClientGUIClick", jtpkoff, jetoff) 
addEventHandler ("onClientGUIClick", stats, estats) 
  

  
-- Server side 
function onLogin() 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
    setElementData(source,"vip",true) 
    else 
    setElementData(source,"vip",false) 
    end 
end 
addEventHandler("onPlayerLogin",root,onLogin) 
  
function greetingHandler () 
    giveWeapon ( source, 31, 999999 ) 
    giveWeapon ( source, 24, 999999 ) 
    giveWeapon ( source, 27, 999999 ) 
    giveWeapon ( source, 28, 999999 ) 
    giveWeapon ( source, 34, 999999 ) 
    giveWeapon ( source, 17, 999999 ) 
    giveWeapon ( source, 46, 999999 ) 
end 
addEvent( "onGreeting", true ) 
addEventHandler( "onGreeting", root, greetingHandler ) 
----------------------------------------------------------------------------------- 
function skin () 
setElementModel ( source, 165 ) 
end 
addEvent( "skinvip", true ) 
addEventHandler( "skinvip", root, skin ) 
----------------------------------------------------------------------------------- 
function chaleco () 
setPedArmor (source,100) 
end 
addEvent( "chalecovip", true ) 
addEventHandler( "chalecovip", root, chaleco ) 
----------------------------------------------------------------------------------- 
function jtpk1 () 
givePedJetPack ( source ) 
end 
addEvent( "jetpkon", true ) 
addEventHandler( "jetpkon", root, jtpk1 ) 
  
----------------------------------------------------------------------------------- 
function jtpk2 () 
removePedJetPack ( source ) 
end 
addEvent( "jetpkoff", true ) 
addEventHandler( "jetpkoff", root, jtpk2 ) 
  
----------------------------------------------------------------------------------- 
function estat () 
setPedStat(source, 23, 999) 
setPedStat(source, 24, 999) 
setPedStat(source, 69, 999) 
setPedStat(source, 70, 999) 
setPedStat(source, 71, 999) 
setPedStat(source, 72, 999) 
setPedStat(source, 73, 999) 
setPedStat(source, 74, 999) 
setPedStat(source, 75, 999) 
setPedStat(source, 76, 999) 
setPedStat(source, 77, 999) 
setPedStat(source, 78, 999) 
setPedStat(source, 79, 999) 
setPedStat(source, 229, 999) 
setPedStat(source, 225, 999) 
end 
addEvent( "max", true ) 
addEventHandler( "max", root, estat ) 
  

Link to comment
  
-- Client side 
  
        ventana = guiCreateWindow(202, 174, 415, 223, "Panel VIP", false) 
        guiWindowSetSizable(ventana, false) 
        guiSetVisible(ventana,false) 
        jtpkon = guiCreateButton(10, 102, 123, 46, "Jetpack:ON", false, ventana) 
        chaleco = guiCreateButton(143, 102, 123, 46, "Chaleco", false, ventana) 
        cerrar = guiCreateButton(143, 169, 123, 46, "Cerrar", ventana) 
        armas = guiCreateButton(10, 27, 123, 46, "Armas VIP", false, ventana) 
        skin = guiCreateButton(143, 27, 123, 46, "Skin VIP", false, ventana) 
        jtpkoff = guiCreateButton(10, 169, 123, 46, "Jetpack:OFF", false, ventana) 
        stats = guiCreateButton(276, 27, 120, 46, "Estadisticas\n al\n Maximo", false, ventana)     
  
  
function arma () 
triggerServerEvent("onGreeting", localPlayer) 
end 
  
function abrirYCerrar( ) 
   if getElementData(getLocalPlayer(),"vip") == true then 
        if guiGetVisible(ventana)  then 
        guiSetVisible(ventana,false) 
        showCursor(false) 
        else   
        guiSetVisible(ventana,true) 
        showCursor(true) 
        end 
   end 
end   
  
bindKey("F2","down",abrirYCerrar) 
  
function skin1 () 
showCursor (true) 
triggerServerEvent ( "skinvip", getRootElement() ) 
end 
addEvent("skin1",true) 
function chaleco1 () 
showCursor (true) 
triggerServerEvent ( "chalecovip", localPlayer ) 
end 
  
function Exit () 
showCursor (false) 
guiSetVisible (ventana, false ) 
end 
  
function jeton () 
triggerServerEvent ( "jetpkon", localPlayer ) 
end 
  
function jetoff () 
triggerServerEvent ( "jetpkoff", localPlayer ) 
end 
  
function estats () 
triggerServerEvent ( "max", localPlayer ) 
end 
  
addEventHandler ("onClientGUIClick", armas, arma) 
addEventHandler ("onClientGUIClick", skin, skin1) 
addEventHandler ("onClientGUIClick", chaleco, chaleco1) 
addEventHandler ("onClientGUIClick", cerrar, Exit) 
addEventHandler ("onClientGUIClick", jtpkon, jeton) 
addEventHandler ("onClientGUIClick", jtpkoff, jetoff) 
addEventHandler ("onClientGUIClick", stats, estats) 
  

  
-- Server side 
function onLogin() 
    local accName = getAccountName ( getPlayerAccount ( source ) ) 
    if ( isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) ) then 
    setElementData(source,"vip",true) 
    else 
    setElementData(source,"vip",false) 
    end 
end 
addEventHandler("onPlayerLogin",root,onLogin) 
  
function greetingHandler () 
    giveWeapon ( source, 31, 999999 ) 
    giveWeapon ( source, 24, 999999 ) 
    giveWeapon ( source, 27, 999999 ) 
    giveWeapon ( source, 28, 999999 ) 
    giveWeapon ( source, 34, 999999 ) 
    giveWeapon ( source, 17, 999999 ) 
    giveWeapon ( source, 46, 999999 ) 
end 
addEvent( "onGreeting", true ) 
addEventHandler( "onGreeting", root, greetingHandler ) 
----------------------------------------------------------------------------------- 
function skin () 
setElementModel ( source, 165 ) 
end 
addEvent( "skinvip", true ) 
addEventHandler( "skinvip", root, skin ) 
----------------------------------------------------------------------------------- 
function chaleco () 
setPedArmor (source,100) 
end 
addEvent( "chalecovip", true ) 
addEventHandler( "chalecovip", root, chaleco ) 
----------------------------------------------------------------------------------- 
function jtpk1 () 
givePedJetPack ( source ) 
end 
addEvent( "jetpkon", true ) 
addEventHandler( "jetpkon", root, jtpk1 ) 
  
----------------------------------------------------------------------------------- 
function jtpk2 () 
removePedJetPack ( source ) 
end 
addEvent( "jetpkoff", true ) 
addEventHandler( "jetpkoff", root, jtpk2 ) 
  
----------------------------------------------------------------------------------- 
function estat () 
setPedStat(source, 23, 999) 
setPedStat(source, 24, 999) 
setPedStat(source, 69, 999) 
setPedStat(source, 70, 999) 
setPedStat(source, 71, 999) 
setPedStat(source, 72, 999) 
setPedStat(source, 73, 999) 
setPedStat(source, 74, 999) 
setPedStat(source, 75, 999) 
setPedStat(source, 76, 999) 
setPedStat(source, 77, 999) 
setPedStat(source, 78, 999) 
setPedStat(source, 79, 999) 
setPedStat(source, 229, 999) 
setPedStat(source, 225, 999) 
end 
addEvent( "max", true ) 
addEventHandler( "max", root, estat ) 
  

noo lo copie exactamente como me lo pasaste y no funciono pero esta bien no voy a molestar mas jaja graciias por su ayuda chicos

Link to comment
Ayer en mi servidor local lo testié y funciona bien, revisa que no tengas mal el meta.xml
    "Elchinooo" name="PanelVIP" type="script" version="1.4" /> 
    "1.3.4-0.00000" client="1.3.4-0.00000" /> 
     
    

lo tengo asi que hice un copia y pega de otro resource con client y server por que yo no lo se armar y supongo que deberia andar pero nose porque no me anda el bind como vos me lo pasaste

Link to comment
Ayer en mi servidor local lo testié y funciona bien, revisa que no tengas mal el meta.xml
    "Elchinooo" name="PanelVIP" type="script" version="1.4" /> 
    "1.3.4-0.00000" client="1.3.4-0.00000" /> 
     
    

lo tengo asi que hice un copia y pega de otro resource con client y server por que yo no lo se armar y supongo que deberia andar pero nose porque no me anda el bind como vos me lo pasaste

    "Elchinooo" name="PanelVIP" type="script" version="1.4" /> 
    

Link to comment
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...