Raised This Month: $ Target: $400
 0% 

Need help with exp in ns


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 03-15-2005 , 02:47   Need help with exp in ns
Reply With Quote #1

Hi. I am trying to add exp saver for amx_marine and amx_alien but i can't get it working. It has worked, but it doesn't work any more.

Here you have the code:
Code:
    if(ns_is_combat()) {
      new Float:Exp
      Exp = ns_get_exp(player);
      client_cmd(player,g_TeamTwoAck);
      ns_set_exp(player,Exp) 
    } else {
      client_cmd(player,g_TeamTwoAck);
    }
mICKE is offline
Send a message via ICQ to mICKE
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-15-2005 , 16:11  
Reply With Quote #2

Show the whole code, please.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 03-15-2005 , 17:13  
Reply With Quote #3

It is a modification for nscommands.

Here you have
Attached Files
File Type: sma Get Plugin or Get Source (nscommands.sma - 815 views - 12.9 KB)
mICKE is offline
Send a message via ICQ to mICKE
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode