Jump to content

please HELP!!!


CheiN

Recommended Posts

function command (user) 
    setNextMap ("mapName")--here your function... 
    outputChatBox ("(player) Buy ('mapName') price 3000 ",getRootElement(),255,255,255,true) 
    takePlayerMoney ( user, 3000 ) 
end     
addCommandHandler ( "mapName", command ) 

Link to comment
function command (user) 
    setNextMap ("mapName")--here your function... 
    outputChatBox ("(player) Buy ('mapName') price 3000 ",getRootElement(),255,255,255,true) 
    takePlayerMoney ( user, 3000 ) 
end     
addCommandHandler ( "mapName", command ) 

in here your function what i put??? i want to set a map writing /buymap

Link to comment
function command (user) 
    setNextMap ("mapName")--here your function... 
    outputChatBox ("(player) Buy ('mapName') price 3000 ",getRootElement(),255,255,255,true) 
    takePlayerMoney ( user, 3000 ) 
end     
addCommandHandler ( "mapName", command ) 

in here your function what i put??? i want to set a map writing /buymap

function command (user) 
    setNextMap ("mapName")--here your function... 
    outputChatBox ("(player) Buy ('mapName') price 3000 ",getRootElement(),255,255,255,true) 
    takePlayerMoney ( user, 3000 ) 
end     
addCommandHandler ( "buymap", command ) 

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...