Jump to content

Help with exp_system


Recommended Posts

Posted
function getRep ( source, commandName, playerName ) 
    if ( playerName ) then 
        thePlayer = getPlayerFromName ( playerName ) 
        if ( thePlayer ) then 
            local ExP = getElementData(localPlayer,"ExP" 
)           outputChatBox ( getPlayerName ( thePlayer ).." Experience is "..ExP" !", source ) 
        else 
            outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) 
        end 
end 
addCommandHandler ( "getexp", getRep ) 

The problem is "getexp" command dont work i dont know why help please

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.

Posted
function getRep ( source, commandName, playerName ) 
    if ( playerName ) then 
        thePlayer = getPlayerFromName ( playerName ) 
        if ( thePlayer ) then 
            local ExP = getElementData(localPlayer,"ExP" 
)           outputChatBox ( getPlayerName ( thePlayer ).." Experience is "..ExP" !", source ) 
        else 
            outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) 
        end 
end 
addCommandHandler ( "getexp", getRep ) 

The problem is "getexp" command dont work i dont know why help please

string commandName, [string arg1, string arg2, ...] 

  

Posted

Were i have to add that ?

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.

Posted

Thanks :)

but what bout the spawnpoints ?

here : /viewtopic.php?f=91&t=61283

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.

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