Raised This Month: $ Target: $400
 0% 

Gladiator Mod v1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Melisko
Senior Member
Join Date: Feb 2010
Old 11-12-2010 , 12:54   Re: Gladiator Mod v1.0
Reply With Quote #31

xleonnn i found a bug , when there are 3 players , 1 CT and 2 T , and CT die , it will automacly start a new round.... can you fix it??? and idk your save exp systems , my 2 friends were testing the server , they have steam , after a hour the exp were lost...
Melisko is offline
Old 11-12-2010, 12:58
Melisko
This message has been deleted by Melisko. Reason: 2 times
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 11-12-2010 , 14:51   Re: Gladiator Mod v1.0
Reply With Quote #32

The CT must die, if they do not remain mas CT...
And it of guarding the exp, which rare, Nvault uses.
__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
Melisko
Senior Member
Join Date: Feb 2010
Old 11-12-2010 , 17:35   Re: Gladiator Mod v1.0
Reply With Quote #33

Quote:
Originally Posted by xLeoNNN View Post
The CT must die, if they do not remain mas CT...
And it of guarding the exp, which rare, Nvault uses.
do not remain mas CT? dont understand....
and it of guarding .... dont understand......

nvault is nick,ip,or steam?
Melisko is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 11-13-2010 , 06:30   Re: Gladiator Mod v1.0
Reply With Quote #34

Save players data by steamid
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
DeLiriuM
Senior Member
Join Date: Dec 2006
Old 11-13-2010 , 07:17   Re: Gladiator Mod v1.0
Reply With Quote #35

Any suitable maps for this mod? And saving by IP/name would be appreciated ;]
__________________
DeLiriuM is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 11-13-2010 , 07:22   Re: Gladiator Mod v1.0
Reply With Quote #36

An example plugin. You can copy from here code to save data players to $moddir/addons/amxmodx/data/vault.ini. This will never loose.
Name, Steam, and IP.

Ahh, sory, from get_user_ip(id, ip, 63) to get_user_ip(id, ip, 63, 1);
Last "1" to not add client port.

At your function: "iKnifeMenu(id)", you have two colors at menu. Add more, to looks like this:

Code:
        add(menuBody, 511, "\yGladiator Mod^n^n")
        add(menuBody, 511, "\r1.\w Knife Normal^n")
        add(menuBody, 511, "\r2.\w Machete^n")
        add(menuBody, 511, "\r3.\w Espada^n")
At new const GLADIATORRANKS[][][], "apprentice", should to begin with "A", and not "a"
set_task(1.0, "ResetHUD",_,_,_, "b" ) should to be removed
Respect indentation. Align the phrases with "TAB" and not "SPACE"
At public event_round_start, why do you add this loop? for (new i = 1;...)
Remove this entityes too: info_vip_start, func_vip_safetyzone, func_escapezone, info_map_parameters, func_buyzone
Don't use 5 thunders, make one stock or function.
Attached Files
File Type: sma Get Plugin or Get Source (vault.sma - 587 views - 2.1 KB)
__________________

Last edited by claudiuhks; 11-13-2010 at 07:50.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Melisko
Senior Member
Join Date: Feb 2010
Old 11-13-2010 , 09:45   Re: Gladiator Mod v1.0
Reply With Quote #37

Quote:
Originally Posted by claudiuhks View Post
Save players data by steamid
its not working 4 us... we have steam and exp are not saving
Melisko is offline
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 11-13-2010 , 10:21   Re: Gladiator Mod v1.0
Reply With Quote #38

Thank you claudiuhks, on having updated the plugin to v1.1, he will add it;)
__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
Old 11-13-2010, 10:27
xLeoNNN
This message has been deleted by xLeoNNN.
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 11-14-2010 , 11:11   Re: Gladiator Mod v1.1
Reply With Quote #39

Plugin updated to the version 1.1
__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-14-2010 , 14:17   Re: Gladiator Mod v1.0
Reply With Quote #40

Quote:
Originally Posted by fysiks View Post
PHP Code:
if(g_GP[id] >= get_pcvar_num(cvar_hpcost))
{
    
// code
}
else if(
g_GP[id] < get_pcvar_num(cvar_hpcost))
{
    
// code

situations like this are redundant as these two cases are mutually exclusive. Change the else if() to just else. I saw at least 6 places that use this.
__________________
fysiks is offline
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 20:08.


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