RangeR.. Posted April 12, 2015 Posted April 12, 2015 hi please meri koi madad karo kyunke mujhe gui ki smaj nahi aa rahi koi aasan sa video tutorial hy to btao MTA PLAYER SINCE 2008 Staff at UGC - [uGC]Robin|GIGN Ex Staff AND MEMBER OF WGS(RACE CLAN) EX-OWNER AT POWER-GAMING EX-Leading Staff at SGC EX-FOUNDER of CIG EX-FOUNDER of Sm [stealth] EX-Staff of The Matrix My Community Scripts Private Interiors TIME PLAYED [TAB] Job Command Private Pickups
Ryancit2 Posted April 12, 2015 Posted April 12, 2015 [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
RangeR.. Posted April 12, 2015 Author Posted April 12, 2015 bht bht shukriya MTA PLAYER SINCE 2008 Staff at UGC - [uGC]Robin|GIGN Ex Staff AND MEMBER OF WGS(RACE CLAN) EX-OWNER AT POWER-GAMING EX-Leading Staff at SGC EX-FOUNDER of CIG EX-FOUNDER of Sm [stealth] EX-Staff of The Matrix My Community Scripts Private Interiors TIME PLAYED [TAB] Job Command Private Pickups
Mr.unpredictable. Posted April 12, 2015 Posted April 12, 2015 R3mp ka gui editor bahut aashan hai use karne mai. https://community.multitheftauto.com/ind ... ils&id=141
RangeR.. Posted April 12, 2015 Author Posted April 12, 2015 Pata hai, mai gui screen to bana leta hun magar phir samaj nahi aati k kya karu us ko start krny k liye MTA PLAYER SINCE 2008 Staff at UGC - [uGC]Robin|GIGN Ex Staff AND MEMBER OF WGS(RACE CLAN) EX-OWNER AT POWER-GAMING EX-Leading Staff at SGC EX-FOUNDER of CIG EX-FOUNDER of Sm [stealth] EX-Staff of The Matrix My Community Scripts Private Interiors TIME PLAYED [TAB] Job Command Private Pickups
Mr.unpredictable. Posted April 12, 2015 Posted April 12, 2015 Tum code banaho aur koi bhi problem hai tho yaha post kaaro ho ham log madat karenge
Ryancit2 Posted April 12, 2015 Posted April 12, 2015 For example, uss GUI ka output ye hota hai: addEventHandler("onClientResourceStart", root, function() guiEditor.Window[1] = -- arguments -- more GUI stuff... end ) Tum isey edit kar ke ye banao: -- Event aur function ko delete karo... -- Under k elements ko wesay hi rehnay do... guiEditor.Window[1] = -- arguments... -- GUI Elements ke aakhir main ye likho: guiSetVisible(guiEditor.Window[1], false) -- Window ko hide karo resource start hotay hi... -- Ab GUI show karo: function toggleGUI() guiSetVisible(guiEditor.Window[1], (not guiGetVisible(guiEditor.Window[1]))) -- Is function se pehlay check karega k window visible hai, agar yes to hide ho jaye gi agar no to phir show ho jaye gi... showCursor(not isCursorShowing()) -- Is function se check karega k cursor show ho raha hai, agar yes to hide kar de ga agar no to phir show karega. end addCommandHandler("toggle", toggleGUI) [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
RangeR.. Posted April 12, 2015 Author Posted April 12, 2015 aur agar koi bind rakhna ho to kya krain ge BHOT BHOT SHUKRIYA YAHI DHOOND RAHA THa.. MTA PLAYER SINCE 2008 Staff at UGC - [uGC]Robin|GIGN Ex Staff AND MEMBER OF WGS(RACE CLAN) EX-OWNER AT POWER-GAMING EX-Leading Staff at SGC EX-FOUNDER of CIG EX-FOUNDER of Sm [stealth] EX-Staff of The Matrix My Community Scripts Private Interiors TIME PLAYED [TAB] Job Command Private Pickups
Ryancit2 Posted April 12, 2015 Posted April 12, 2015 function toggleGUI() guiSetVisible(guiEditor.Window[1], (not guiGetVisible(guiEditor.Window[1]))) showCursor(not isCursorShowing()) end addCommandHandler("toggle", toggleGUI) bindKey("O", "down", toggleGUI) -- Simple function ;D [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Anubhav Posted April 12, 2015 Posted April 12, 2015 It will mainly show the GUI to everyone, trigger kar. Mein appko ye skype pe batonga See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Ryancit2 Posted April 12, 2015 Posted April 12, 2015 It will mainly show the GUI to everyone, trigger kar.Mein appko ye skype pe batonga No it wont, command is added in client side + it will trigger function for client only. [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Anubhav Posted April 12, 2015 Posted April 12, 2015 it happends with command handler sometimes// See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Ryancit2 Posted April 12, 2015 Posted April 12, 2015 it happends with command handler sometimes// Yes, happens when you addCommand in serverside and then triggerClientEvent to open GUI, that can be minimized by this: triggerClientEvent("openGUI", root) -- WRONG! triggerClientEvent(player, "openGUI", player) -- Right, will be triggered for only the player who typed command. [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Anubhav Posted April 12, 2015 Posted April 12, 2015 I'm talking about client-side, duh. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Mr.unpredictable. Posted April 12, 2015 Posted April 12, 2015 It will mainly show the GUI to everyone, trigger kar.Mein appko ye skype pe batonga Kidding?
Ryancit2 Posted April 12, 2015 Posted April 12, 2015 I'm talking about client-side, duh. There is no way, in client-side-only to open GUI for ALL THE PLAYERS IN SERVER! [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Mr.unpredictable. Posted April 12, 2015 Posted April 12, 2015 I just added an example about bind for gui , you can learn it from there. https://wiki.multitheftauto.com/wiki/GuiSetVisible
RangeR.. Posted April 12, 2015 Author Posted April 12, 2015 function toggleGUI() (not guiGetVisible(guiEditor.Window[1]))) showCursor(not isCursorShowing()) ye "not" kab use krty hn aur kyu MTA PLAYER SINCE 2008 Staff at UGC - [uGC]Robin|GIGN Ex Staff AND MEMBER OF WGS(RACE CLAN) EX-OWNER AT POWER-GAMING EX-Leading Staff at SGC EX-FOUNDER of CIG EX-FOUNDER of Sm [stealth] EX-Staff of The Matrix My Community Scripts Private Interiors TIME PLAYED [TAB] Job Command Private Pickups
Anubhav Posted April 12, 2015 Posted April 12, 2015 not ka example not false Ye return karega 'yes' ye asi jaga pe use hota jab boolean hota hein waha pein, guiGetVisible ka not. true hoga to false karega. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
TheSmart Posted April 12, 2015 Posted April 12, 2015 for i,__ in pairs local return kaha use hota hai pls bta do.
Anubhav Posted April 12, 2015 Posted April 12, 2015 for i, _ in pairs: Ye un-indexed tables ke liya hein such as. Likin indexed table ke liya bhi kam kar ta hein. i ka return ho ga index aur v ka return hoga index ki value. myTable = { ['3453'] = "Yo" } local: Ye hamlog agar top pe use kare, to ye usi SCRIPT/FILE pe use kar sakta ho. Agar function mein kiya to function mein hi. return: Jab apko koy chiz vapis bhajni ho. example: [lua] function getMyPlayer( player ) return player agar app return nahi use karoge to nil return ayy ga aur koy gadbad ho sakti hein. See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Ryancit2 Posted April 13, 2015 Posted April 13, 2015 not ka example not false Ye return karega 'yes' ye asi jaga pe use hota jab boolean hota hein waha pein, guiGetVisible ka not. true hoga to false karega. In other words, 'not' use hota hai opposite boolean k liye. btw wo '_' ka mujhay bhi nahi pata tha, main isey use bhi nahi karta. [Resource] Advance Voice Messaging system with 120+ languages support! [Resource] Information markers with ingame management + editable permissions! [Resource] Live weather telling app! [Resource] Send Emails from game! [HELP?] Ask Pakistani's, have fun %3C3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now