PDA

View Full Version : [SWB] Main Stats *UPDATED*


smallwimpyboy
09-07-2005, 20:56
REQUIRES CSSTATS

its basic just like /rankstats just you push at button and it shows up on your screen above the crosshair

How To Use::
bind <key> "amx_killc YOUR-NAME"

then when you want to see your stats just push the key you binded it to
Heres What it should show...
[SWB] Stats |Kills:XX |Deaths:XX |HS:XX |Dmg:XX |Shots:XX |Hits:XX

mascot105
09-08-2005, 20:47
Thats cool. But not what I'm looking for. :(

smallwimpyboy
09-09-2005, 12:26
well its my first plugin

Proach
09-11-2005, 14:50
nice idea! maybeyou can make so that you can also view other people stats if you cross them on with your crosshair and then press a button

smallwimpyboy
09-11-2005, 16:10
ok ill work on that

EKS
09-11-2005, 19:46
Ok looking at your code

there is alot thats not needed
if(!cmd_access(id,level,cid,2)) {
return PLUGIN_HANDLED;
No point in checking for access level, when your function does not require any access level.


Also using client_print() on a console command is not good, as the client will have to open his console. Write the command, then exit the console to see what happen. Its better to do a console_print.

Now that this is said, this plugin seems like something that esp designed for your server. Or yourself. How would anyone know to use this console command?

smallwimpyboy
09-11-2005, 19:55
ok ok... i made it so it also shows up in console 2 times

I hope its good

EKS
09-12-2005, 20:32
Its that you learn to write plugins. But i just cant see how this plugin is usefull to anyone other servers then your own

smallwimpyboy
09-12-2005, 21:02
just to let you know i dont have a server and no clan :cry: