[HELP] How to do that once an added exp
Hi, in first of my help thread i want to sorry all for my english... ;D
My trouble is, in plugin i writing to cod mod and i can't set that add experience just one time... Now experience added all of time, and this is my problem.. I want to do that once an added exp.. How it is to operate: I have two kills i gets 'Elo' rank and just random from 0-30 exp gives to me just once time... If i have two kills... Code of plugin: Code:
#include <amxmodx> |
Re: [HELP] How to do that once an added exp
What this code mean?
PHP Code:
Next, you also want to give free experiences just once for "Elo" level? |
Re: [HELP] How to do that once an added exp
zmd94, Yeah.. exactly yes.
|
Re: [HELP] How to do that once an added exp
Actually, what are you trying to do with below code? Please explain about this code first.
PHP Code:
|
Re: [HELP] How to do that once an added exp
if ( stats[0] >= 0 && stats[0] <= 2) format(ranga,29,"Elo")
if ( stats[0] >= 3 && stats[0] <= 4) format(ranga,29,"Starter") This code using statsx.amxx So stats[0] it's save from statsx.... And.. If stats kills >= 0 kills and stats kills <= 2 kills give rank 'Elo' and add once time random 0-30 experience . :) |
Re: [HELP] How to do that once an added exp
So, you will only have two positions which are "Elo" and "Starter"?
|
Re: [HELP] How to do that once an added exp
No I want add my own position.. But this after ...
|
Re: [HELP] How to do that once an added exp
Just try below. ;)
PHP Code:
|
Re: [HELP] How to do that once an added exp
Quote:
Code:
abec.sma(49) : error 017: undefined symbol "Attac" |
Re: [HELP] How to do that once an added exp
I have updated the code.
|
| All times are GMT -4. The time now is 15:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.