This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[CS] Rank | little change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skunew
Member
Join Date: Dec 2013
Old 01-14-2014 , 11:11   [CS] Rank | little change
Reply With Quote #1

Please change this plugin.
This plugin must show rank in small text like chat under chat.

Quote:
/* Plugin generated by AMXX-Studio
By spiderman, requested by spiderman
*/
#include <amxmodx>
#include <amxmisc>
#include <csx>
#define PLUGIN "Ranga"
#define VERSION "1.0"
#define AUTHOR "spiderman"
#define TASK 666
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_connect(id)
{
if(is_user_bot(id))
return

new param[1]
param[0] = id

set_task(1.0,"rank",TASK+id,param,1,"b")
}
public client_disconnect(id)
if(task_exists(TASK+id))
remove_task(TASK+id)
public rank(param[])
{
new id = param[0]

static stats[8], body[8]
get_user_stats(id, stats, body)

new ranga[30]

if ( stats[0] >= 0 && stats[0] <= 29)
format(ranga,29,"Lamus")
else if ( stats[0] >= 30 && stats[0] <= 59)
format(ranga,29,"Poczatkujacy")
else if ( stats[0] >= 60 && stats[0] <= 119)
format(ranga,29,"Wiesniak")
else if ( stats[0] >= 120 && stats[0] <= 209)
format(ranga,29,"Sierota")
else if ( stats[0] >= 210 && stats[0] <= 324)
format(ranga,29,"Kox")
else if ( stats[0] >= 325 && stats[0] <= 499)
format(ranga,29,"Cherlak")
else if ( stats[0] >= 500 && stats[0] <= 729)
format(ranga,29,"Kozak")
else if ( stats[0] >= 730 && stats[0] <= 999)
format(ranga,29,"Snajper")
else if ( stats[0] >= 100 && stats[0] <= 1399)
format(ranga,29,"Macho")
else if ( stats[0] >= 1400 && stats[0] <= 1849)
format(ranga,29,"Rambo")
else if ( stats[0] >= 1850 && stats[0] <= 2299)
format(ranga,29,"Terminator")
else if ( stats[0] >= 2300 && stats[0] <= 2899)
format(ranga,29,"Joker")
else if ( stats[0] >= 2900 && stats[0] <= 3549)
format(ranga,29,"Morfeusz")
else if ( stats[0] >= 4200 && stats[0] <= 4999)
format(ranga,29,"Wybraniec")
else if ( stats[0] >= 5000 && stats[0] <= 5899)
format(ranga,29,"Killer")
else if ( stats[0] >= 5900 && stats[0] <= 6899)
format(ranga,29,"Multi Killer")
else if ( stats[0] >= 6900 && stats[0] <= 7999)
format(ranga,29,"Owner")
else if ( stats[0] >= 8000 && stats[0] <= 9299)
format(ranga,29,"Cziter")
else if ( stats[0] >= 9300 && stats[0] <= 1999)
format(ranga,29,"Vip TeamKielce")
else if ( stats[0] >= 1000 )
format(ranga,29,"GM TeamKielce")

set_hudmessage(255, 255, 255, 0.15, 0.55)
show_hudmessage(id, "Ranga: %s^nZabojstw: %d",ranga,stats[0])
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1250\\ deff0\\ deflang1045{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
Like this:
http://img4.**************/img4/5812/...vqkl90pbzd.jpg

Thanks

Last edited by skunew; 01-14-2014 at 11:17.
skunew is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 01-14-2014 , 12:23   Re: [CS] Rank | little change
Reply With Quote #2

Wrong section...

EDIT: You wrong section..

EDIT2: You in the wrong section..

EDIT3: You asking in the wrong section..

EDIT4: You asking in the wrong section.. This is sourcepawn scripting section..
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 01-14-2014 at 12:27. Reason: GsiX practicing english.. >.<"
GsiX 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 17:07.


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