yoya99 Posted July 7, 2014 Posted July 7, 2014 hey i have this rules resource and i want that when a player join his rules are shown automatically..and when he logins or he plays as a guest his rules are disappearing... CODE REMOVED BY Solidsnake14 And the snail starts to sing
MIKI785 Posted July 7, 2014 Posted July 7, 2014 It looks like you're combining client and server... don't use onPlayerConnect but onClientResourceStart Lua Scripter Owner of mshost.cz MTA portal.
-.Paradox.- Posted July 8, 2014 Posted July 8, 2014 Post the "strings" table. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Max+ Posted July 8, 2014 Posted July 8, 2014 CODE REMOVED BY Solidsnake14 - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Arnold-1 Posted July 8, 2014 Posted July 8, 2014 CODE REMOVED BY Solidsnake14 Please stop, you don't actually know proper scripting. when dealing with dx, you have to use render events. this is how it should be. CODE REMOVED BY Solidsnake14 Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
Max+ Posted July 8, 2014 Posted July 8, 2014 Yeah , Sorry i forgot, dx have to be only Render events non of us are perfect - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Arnold-1 Posted July 8, 2014 Posted July 8, 2014 It's not actually about being perfect, i noticed from your posts, you're making horrible mistakes, please learn more scripting, i believe within a month or two you will be able to help people. Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
Max+ Posted July 8, 2014 Posted July 8, 2014 It's not actually about being perfect, i noticed from your posts, you're making horrible mistakes, please learn more scripting, i believe within a month or two you will be able to help people. Ok , Thank's for the advise - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
yoya99 Posted July 8, 2014 Author Posted July 8, 2014 thx for the answers guys i will check it out,if it works now And the snail starts to sing
yoya99 Posted July 8, 2014 Author Posted July 8, 2014 ok thx but how to to make it disappeare after logging in? And the snail starts to sing
MIKI785 Posted July 8, 2014 Posted July 8, 2014 Theres no event for that clientsided so use triggerClientEvent... Something like this: --Server addEventHandler("onPlayerLogin", root, function () triggerClientEvent(source, "onClientPlayerLogin", root) end ) --Client addEvent("onClientPlayerLogin", true) addEventHandler("onClientPlayerLogin", root, function () removeEventHandler("onClientRender", root, showRules) end ) Should work Lua Scripter Owner of mshost.cz MTA portal.
Arnold-1 Posted July 8, 2014 Posted July 8, 2014 --Server addEventHandler("onPlayerLogin", root, function () triggerClientEvent(source, "onClientPlayerLogin", root) end ) --Client addEvent("onClientPlayerLogin", true) addEventHandler("onClientPlayerLogin", root, function () removeEventHandler("onClientRender", root, showRules) shown = false end ) Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
yoya99 Posted July 8, 2014 Author Posted July 8, 2014 I am beginner where to put this in now ? Just add it under The other? And the snail starts to sing
Max+ Posted July 8, 2014 Posted July 8, 2014 No , you can see , --Server put in serverSide script , --Client put in ClientSide script , check meta.xml to know witch script is client and server - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
yoya99 Posted July 9, 2014 Author Posted July 9, 2014 and what to do with the other part where the rules are drawn?? And the snail starts to sing
yoya99 Posted July 14, 2014 Author Posted July 14, 2014 how can i do it if it is a guest account?? clikcing play as guest and the hide too? And the snail starts to sing
Arnold-1 Posted July 14, 2014 Posted July 14, 2014 He can always hide it by pressing f3, but anyway, you can do it using an export, i cant tell you how now since i'm on phone, but read this wiki page: call Ingame Name: Arnold If you need my help, contact me on Skype @bshr.ara NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP
yoya99 Posted July 16, 2014 Author Posted July 16, 2014 i dont understand.. And the snail starts to sing
Grafu Posted July 17, 2014 Posted July 17, 2014 May I know what my rules script is doing here? • Grafuroam on Facebook • Grafuroam on Youtube • Support us •
-.Paradox.- Posted July 17, 2014 Posted July 17, 2014 May I know what my rules script is doing here? A moderator should lock this topic If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Recommended Posts