Raised This Month: $ Target: $400
 0% 

Maxspeed help...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
spire8989
Junior Member
Join Date: Oct 2004
Old 10-17-2004 , 13:46  
Reply With Quote #4

It compiles fine except the speed doesn't change. The footsteps and invisibility works though. Here's my code:

Code:
/*
NinjaMod 1.0
By -=|)347}{=-
*/

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>

public myfunction(id,level,cid) {
	if (!cmd_access(id,level,cid,1)) {
		return PLUGIN_HANDLED
	}
	client_print(0,print_center,"Welcome to NinjaMod v1.0")
	return PLUGIN_HANDLED
}

public round_start() 
{ 
	client_print(0,print_center,"Setting up everything...")
	new maxplayers = get_maxplayers() + 1 
	for(new i=1;i<maxplayers;i++)
	{ 
		if(is_user_alive(i)) {
			set_user_maxspeed(i, 500.0)
			set_user_rendering(i, kRenderFxGlowShell,0,0,0,kRenderTransAlpha,100) 
			set_user_footsteps(i, 1)
		}
	} 
	return PLUGIN_CONTINUE 
} 

public CurWeapon()
{
	new Maxplayers = get_maxplayers() + 1 
	for(new t=1;t<Maxplayers;t++)
	{ 
		if(is_user_alive(t)) {
			set_user_maxspeed(t, 500.0)
		}
	} 
}

public plugin_init() {
	register_plugin("NinjaMod","1.0","|)347}{")
	register_logevent("round_start",2,"0=World triggered","1=Round_Start")
	register_clcmd("amx_welcomein","myfunction",ADMIN_VOTE," : prints NinjaMod v1.0 to everyone")
	return PLUGIN_CONTINUE
}
spire8989 is offline
 



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:20.


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