.:HyPeX:. Posted May 27, 2012 Posted May 27, 2012 Hello, i've done a script based on nextreme's pannel functions and i know i need to trigger them on the racevoting, but when triggering the events to the race to set a map with the script (the script is supposed to make the nextmap cooler) i never did it and i cant find in the wiki how to do it.. Any idea? Thanks in advance My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
.:HyPeX:. Posted May 27, 2012 Author Posted May 27, 2012 Ok, i have read some things arround and i added this on the racevoting_server, but it doesnt does nothing at all. function OnNextmapRequest ( mapName, theplayer, Buymap) triggerEvent("onNextMapRequest",thePlayer,mapName) --If event == "OnNextMapRequest" is called then g_ForcedNextMap = mapName end My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
.:HyPeX:. Posted May 27, 2012 Author Posted May 27, 2012 Nevermind, i've just figured out my problem. My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Moderators IIYAMA Posted May 30, 2012 Moderators Posted May 30, 2012 yes you don't even have a handler omg . Man you really need to stop using other people their script parts. GO read wiki mta!!!! Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Alpha Posted May 30, 2012 Posted May 30, 2012 Take it easy, everyone started like that. My Resources: [REL] Support System v1.0.2
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