AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Scout Helper 0.1b (https://forums.alliedmods.net/showthread.php?t=46766)

MostWanted 11-02-2006 09:19

Scout Helper 0.1b
 
Help? :D, im not good with coding anyone wanna help me fix some things, also need to add bunnyhop having trouble.

Code:
#include <amxmodx> #include <amxmisc> #include <engine> new g_szSound[] = "joinserver.mp3" new bool:Falling[33] public plugin_init() {     register_plugin("ScoutzHelper","0.1","MostWanted");     register_cvar("scoutz_nofalldmg","1");     register_clcmd("fullupdate", "Block_Cmd");     set_cvar_num("sv_gravity",200) } public client_PreThink(id) {     if(entity_get_float(id, EV_FL_flFallVelocity) >= 350.0 && get_cvar_num("scoutz_nofalldmg"))         Falling[id] = true } public client_PostThink(id) {     if(Falling[id] && get_cvar_num("scoutz_nofalldmg"))     {         entity_set_int(id, EV_INT_watertype, -3)         Falling[id] = false     } }   public plugin_precache()     precache_sound(g_szSound)     public client_putinserver(id)     set_task(20.0,"fnPlaySound",id)     public fnPlaySound(id)     client_cmd(id,"spk %s",g_szSound)


Zenith77 11-02-2006 12:32

Re: Scout Helper 0.1b
 
Quote:

Originally Posted by NowakFilip (Post 398664)
Add:
Code:

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>

Add:
Code:

#define <plugin>
#define <author>


There is no reason to include cstrike and he doesn't need to define anything. In fact your post is pointless.


All times are GMT -4. The time now is 04:57.

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