AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   amx_speed by Petey B (https://forums.alliedmods.net/showthread.php?t=10770)

#eclipse 02-28-2005 16:12

amx_speed by Petey B
 
1 Attachment(s)
I ported this from amx to use on my server this can change a users speed, It's slightly glitched so that it goes back to normal after you change weapons well at least in ts. Please do not ask me to fix this I only ported this and thought it might to useful or fun.
Code:

/*
Fast Movement, v0.2
By Petey B thanks to KRoT@L
Usage: amx_speed <nick, part nick, @TEAM or *ALL> <Speed>
*/


Petey B 02-28-2005 21:22

Thnx
 
thnx for porting this plugin i did write but i still think u shood have asked me first :P jks :).

This plugin allows you to change the speed of players using
amx_speed <nik, part nik, @TEAM, *all> <speed>

the default speed is 250 if ur wonderin why you can move during the freezetime and u whant it fixed just ask me and il post it!

thnx

----------------

I still think amx is better! :P

#eclipse 02-28-2005 22:08

Sorry i'll keep that in mind next time

Petey B 03-01-2005 17:07

no its fine i dont mind but there are some people *cough* asskicr *cough* who get extremely mad!

jks asskicr i luv ur plugins :P :D

#eclipse 03-01-2005 22:35

Oh he hasn't said anything to me yet...

Petey B 03-02-2005 21:33

lmao

lol jks

nightscreem 03-21-2005 07:42

thx for porting this

GHW_Chronic 04-04-2005 20:34

The Speed plugin I made allows you to bind a key to +speed2 to turn it on and when u release your finger it will turn off. It also includes an "amx_speed" command so as to set speed on other people. Check it out, it is this plugin and much more

not trying to trash this plugin or nothing

http://forums.alliedmods.net/showthread.php?t=6946

twistedeuphoria 04-05-2005 12:56

@#eclipse: Please, please indent!

@GHW_Chronic: Figure out how to keep a players speed past when they respawn or switch weapons.

Right now we have at least 3 speed plugins. I suggest finding a feature that sets your respective plugins apart. In this matter it seems Chronic has the advantage with the +button, however as I said above he needs to update to work around weapon switches and respawns.

A little healthy competition :wink:

ZiP* 04-05-2005 16:17

He hasn't done it yet...

Code:
 /*  Fast Movement, v0.2  By Petey B thanks to KRoT@L  Usage: amx_speed <nick, part nick, @TEAM or *ALL> <Speed>  */  #include <amxmodx>  #include <fun>  #include <amxmisc>  new bool:speedy[33]  new Float:speedvar[33]  public client_connect(id)  {     speedy[id] = false     speedvar[id] = 250.0  }  public admin_speed(id,level,cid){     if (!cmd_access(id,level,cid,2)){         console_print(id, "you arn't good enough to use this command")         return PLUGIN_HANDLED     }     server_cmd("sv_maxspeed 99999999")     new i     new arg[32], arg2[32]     read_argv(1, arg, 31)     read_argv(2, arg2, 31)     if(arg[0] == '@')     {         new users[32], inum         get_players(users, inum, "ae", arg[1])         if(inum == 0)         {             console_print(id, "No users in such team Idiot")             return PLUGIN_HANDLED         }         for(i = 0; i < inum; ++i)         {             speedvar[users[i]] = float(str_to_num(arg2))             set_user_maxspeed(users[i], speedvar[users[i]])             speedy[users[i]] = true             client_print(0, print_chat, "AMX: the %s's speed is %s", arg, arg2)         }     }     else if(arg[0] == '*')     {         new users[32], inum         get_players(users, inum)         if(inum == 0)         {             console_print(id, "No users in such team idiot")             return PLUGIN_HANDLED         }         for(i = 0; i < inum; ++i)         {             speedvar[users[i]] = float(str_to_num(arg2))             set_user_maxspeed(users[i], speedvar[users[i]])             speedy[users[i]] = true             client_print(0, print_chat, "AMX: Everybody's speed is %s", arg2)         }     }     else     {         new player = cmd_target(id, arg, 0)         if(!player){             console_print(id, "you can't spell!!")             return PLUGIN_HANDLED         }         speedvar[player] = float(str_to_num(arg2))         set_user_maxspeed(player, speedvar[player])         speedy[player] = true         new name[32]         get_user_name(player, name, 31)         client_print(0, print_chat, "AMX: %s's speed is %s", name , arg2)     }     return PLUGIN_HANDLED  }  public switch_weapon(id)  {     if(speedy[id])     {         set_user_maxspeed(id, speedvar[id])     }     return PLUGIN_CONTINUE  }  public plugin_init() {     register_plugin("Fast Movement","0.2","Petey B")     register_concmd("amx_speed","admin_speed",ADMIN_KICK, "<nick, part of nick, @team, * all> <speed>")     register_event("CurWeapon", "switch_weapon", "be", "1=1")  }


All times are GMT -4. The time now is 02:12.

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