Jump to content

Como hago esto? y por que me sale esto.


Recommended Posts

Posted
local from = get("from") 
local to = get("to") 
function rewardOnWasted ( ammo, killer, killerweapon, bodypart ) 
    if ( killer ) and ( killer ~= source ) then 
        local accountName = getAccountName ( getPlayerAccount ( killer ) ) 
        if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "VIP" ) ) ) then 
        local theName = getPlayerName(killer) 
        givePlayerMoney ( killer, 5000) 
        outputChatBox("#FFFF1A[#FFFFFF "..theName.." #FFFF1A]The Vip Has Won 5000 per Kill$" ,root, 255, 255,0,true ) 
      end 
     end 
end 
addEventHandler ( "onPlayerWasted", getRootElement(), rewardOnWasted ) 

Posted
GUIEditor = { 
    tab = {}, 
    window = {}, 
    tabpanel = {}, 
    label = {} 
} 
    function panel() 
    guiVip = guiCreateWindow(345, 157, 423, 207, "VIP Panel", false) 
    guiWindowSetSizable(guiVip, false) 
  
    tab = guiCreateTabPanel(9, 19, 154, 178, false, guiVip) 
  
    tab1 = guiCreateTab("Espanol", tab) 
  
    GUIEditor.label[1] = guiCreateLabel(10, 6, 152, 30, "Recuerda que Todo Vip", false, tab1) 
    GUIEditor.label[2] = guiCreateLabel(10, 26, 152, 30, "Gana 5000$ por Matar", false, tab1) 
    GUIEditor.label[3] = guiCreateLabel(10, 46, 152, 30, "A un objetivo.", false, tab1) 
    GUIEditor.label[4] = guiCreateLabel(5, 66, 107, 25, "Comandos VIP:", false, tab1) 
    guiSetFont(GUIEditor.label[4], "default-small") 
    GUIEditor.label[5] = guiCreateLabel(10, 81, 152, 30, "viped  --- Para Abrir Panel", false, tab1) 
    guiSetFont(GUIEditor.label[5], "default-small") 
    GUIEditor.label[6] = guiCreateLabel(10, 101, 152, 30, "Sellvipd  --- Para Vender vip", false, tab1) 
    guiSetFont(GUIEditor.label[6], "default-small") 
    GUIEditor.label[7] = guiCreateLabel(10, 131, 152, 30, "Usa un bind para abrir el panel", false, tab1) 
    guiSetFont(GUIEditor.label[7], "default-small") 
  
  
    mini = guiCreateButton(174, 36, 83, 41, "Minigun Infinite", false, guiVip) 
    guiSetFont(mini, "default-bold-small") 
    guiSetProperty(mini, "NormalTextColour", "FFAAAAAA") 
    grana = guiCreateButton(174, 87, 83, 41, "Granadas", false, guiVip) 
    guiSetFont(grana, "default-bold-small") 
    guiSetProperty(grana, "NormalTextColour", "FFAAAAAA") 
    m4inf = guiCreateButton(174, 138, 83, 41, "M4 Infinite", false, guiVip) 
    guiSetFont(m4inf, "default-bold-small") 
    guiSetProperty(m4inf, "NormalTextColour", "FFAAAAAA") 
    skin1 = guiCreateButton(277, 36, 83, 41, "Skin 1", false, guiVip) 
    guiSetFont(skin1, "default-bold-small") 
    guiSetProperty(skin1, "NormalTextColour", "FFAAAAAA") 
    skin2 = guiCreateButton(277, 87, 83, 41, "Skin 2", false, guiVip) 
    guiSetFont(skin2, "default-bold-small") 
    guiSetProperty(skin2, "NormalTextColour", "FFAAAAAA") 
    skin3 = guiCreateButton(277, 138, 83, 41, "Skin 3", false, guiVip) 
    guiSetFont(skin3, "default-bold-small") 
    guiSetProperty(skin3, "NormalTextColour", "FFAAAAAA") 
    x = guiCreateButton(389, 179, 24, 18, "x", false, guiVip) 
    guiSetProperty(x, "NormalTextColour", "FFAAAAAA") 
    plata = guiCreateButton(377, 38, 36, 29, "1$", false, guiVip) 
    guiSetProperty(plata, "NormalTextColour", "FFAAAAAA") 
    vida = guiCreateButton(377, 89, 36, 29, "Health", false, guiVip) 
    guiSetFont(vida, "default-small") 
    guiSetProperty(vida, "NormalTextColour", "FFAAAAAA") 
    vendo = guiCreateButton(377, 144, 36, 29, "sell", false, guiVip) 
    guiSetProperty(vendo, "NormalTextColour", "FFAAAAAA")     
    showCursor(true) 
    guiSetVisible(guiVip,false) 
    addEventHandler("onClientGUIClick", x, cierro, false) 
end 
 addEventHandler("onClientResourceStart", resourceRoot, panel) 
  
addEvent("abrirVip",true) 
function abrirVip() 
    guiSetVisible(guiVip, true) 
    showCursor(true) 
end 
addEventHandler("abrirVip", getRootElement(), abrirVip) 

Posted
POST BORRADO

No borres los post porque puede ser que alguna persona tiene el mismo problema que el tuyo, solo es cuestión de cerrar el topic. cierren el post por favor.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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