PDA

View Full Version : huge list of commands to use in plugins


decemberx
04-24-2004, 17:31
A HUGE LIST I MADE, it includes all the basic commands, the fun module commands and the amxcosnt commands. Please keep adding on to it!

FlyingMongoose
04-24-2004, 17:57
I'll be nice and turn it into a webpage :P I like it :)

Johnny got his gun
04-26-2004, 08:41
Ahem... I think you got it all wrong. Apart from the first list of serverside cvars, the rest aren't needed by anyone but scripters.

[Fun Module Cvars]
------------------
native set_user_listening(receiver,sender,listen) : sets who can listen to who (0 to disable)
native get_user_listening(receiver,sender) : returns if palyer can here sender
native set_user_godmode(index,godmode = 0) : Sets players godmode (set only 1st paremeter to disable)
native get_user_godmode(index) : Returns if godmode is set.
native set_user_noclip(index,noclip = 0) : Sets palyers no clip (set only 1st paremeter ot disable)
native get_user_noclip(index) : Returns if no clip is set.

Not cvars. Natives (script functions, really). And they are already listed in fun.inc, so why go to the trouble of doing it again?

[amxconst (defines)]
--------------------
[weapons]
---------
#define CSW_P228 1
#define CSW_SCOUT 3
#define CSW_HEGRENADE 4
#define CSW_XM1014 5
#define CSW_C4 6
#define CSW_MAC10 7
#define CSW_AUG 8

You leave me speechless...

decemberx
04-26-2004, 16:49
i leave it up to u guys to write it out... :)

QwertyAccess
04-26-2004, 21:53
i have a plugin that puts everything in amx_help into an html page.

decemberx
04-27-2004, 18:32
cuz its my anti drug!!!!!!!!!!!!!