Jump to content

Triggering OnNextMapRequest


Recommended Posts

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

Link to comment

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 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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