Tomas Posted May 11, 2015 Posted May 11, 2015 ¿Adivinamos el código? Currently developing for International Gaming Community - Join us!
Tomas Posted May 12, 2015 Posted May 12, 2015 ¿Adivinamos el código? Currently developing for International Gaming Community - Join us!
Enargy, Posted May 12, 2015 Posted May 12, 2015 Si no posteas el código como crees que podemos ayudarte ? - Inactivo.
Bc# Posted May 12, 2015 Posted May 12, 2015 Quitale la restricción por acl y ya esta. Si me vas a venir a preguntar como hacer eso, primero postea el codigo. Bc Media Clan XPG Foro mtasa://104.223.20.159:21003
Tomas Posted May 12, 2015 Posted May 12, 2015 Si no posteas el código como crees que podemos ayudarte ? Es que tenemos poderes psíquicos, somos bien kawais Currently developing for International Gaming Community - Join us!
Tomas Posted May 13, 2015 Posted May 13, 2015 Listo, por favor ayudenmen Te recomiendo darte una leidita por aquí viewtopic.php?f=145&t=38050 Currently developing for International Gaming Community - Join us!
Jakepankeke Posted May 13, 2015 Posted May 13, 2015 Primero te explico seas nuevo aca solo ayudo: Mira debes publicar parte de tu script que deseas modificar o crear porque sin codigo no te ayudaran Nombre del codigo etc end No se si te ayude pero aca hay un script que te sirva tienes que ponerlo en tu archivo cliente: function panelvip(hitElement) guiSetVisible( nombredelpanel , true)------en "nombredelpanel " pones el respectivo nombre de el panel que deseas abrir showCursor(true) end addCommandHandler("panelvip",panelvip) Retirado, pero haciendo un proyecto llamado San Andreas Survival (mi último proyecto)
Walid Posted May 13, 2015 Posted May 13, 2015 Server function Lalavip(player) if isElement(player) then triggerClientEvent(player, "ShowVipPanel",player) end end addCommandHandler("vip",Lalavip) Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
Remix2000 Posted May 13, 2015 Author Posted May 13, 2015 (edited) pero para cerrar lo como? ___________________________ solo lo puedo abrir function onResStart () for index, player in ipairs ( getElementsByType ( "player" ) ) do bindKey ( player, "F3", "down", Lalavip ) end end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), onResStart) function onPlayerJoin () bindKey ( source, "F3", "down", Lalavip ) end addEventHandler ( "onPlayerJoin", getRootElement(), onPlayerJoin) function cleanAll (player) for index, player in ipairs ( getElementsByType ( "player" ) ) do unbindKey ( player, "F3", "down", Lalavip ) end end addEventHandler ( "onResourceStop", getResourceRootElement ( getThisResource() ), cleanAll) Edited May 14, 2015 by Guest
Bc# Posted May 15, 2015 Posted May 15, 2015 --Define esto global-mente local isOpen = false --Reemplaza esto en todos los bindKey bindKey ( player, "F3", "down", main ) --Tambien el unbind unbindKey ( player, "F3", "down", main ) --Agrega esta funcion a tu codigo function main() if isOpen then isOpen = false --Inserta una funcion para cerrar tu panel else Lalavip() isOpen = true end end Bc Media Clan XPG Foro mtasa://104.223.20.159:21003
Enargy, Posted May 15, 2015 Posted May 15, 2015 pero para cerrar lo como?___________________________ solo lo puedo abrir function onResStart () for index, player in ipairs ( getElementsByType ( "player" ) ) do bindKey ( player, "F3", "down", Lalavip ) end end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), onResStart) function onPlayerJoin () bindKey ( source, "F3", "down", Lalavip ) end addEventHandler ( "onPlayerJoin", getRootElement(), onPlayerJoin) function cleanAll (player) for index, player in ipairs ( getElementsByType ( "player" ) ) do unbindKey ( player, "F3", "down", Lalavip ) end end addEventHandler ( "onResourceStop", getResourceRootElement ( getThisResource() ), cleanAll) borra guiSetVisible( nombredelpanel , true) y colocas esto: guiSetVisible( nombredelpanel, not guiGetVisible(nombredelpanel)) - Inactivo.
Kilfwan Posted May 19, 2015 Posted May 19, 2015 Que troll solo era de sacar lo del server y ponerle trigger y no pudo ._. Remix tu no lo creastes por lo visto. NaciónZ Developing server to the 65 %
Recommended Posts