Raised This Month: $ Target: $400
 0% 

ayuda , bug de velocidad (se acaba al cambiar arma)


  
 
 
Thread Tools Display Modes
Author Message
StrikerV2
Senior Member
Join Date: Nov 2012
Location: Chile , O Yes!
Old 12-23-2012 , 14:15   ayuda , bug de velocidad (se acaba al cambiar arma)
#1

Ola amigos bueno ase 1 dia estube asiendo un menu pero me dijieron que la forma de dar la velocidad
se bugearia y se saldria (la velocidad) al cambiar el arma .

y mi pregunta seria como darle la velocidad sin que se acabe al cambiar el arma.
__________________
Mi firma era tan sexy .-.

Last edited by StrikerV2; 12-23-2012 at 14:18.
StrikerV2 is offline
Send a message via MSN to StrikerV2
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 12-23-2012 , 14:40   Re: ayuda , bug de velocidad (se acaba al cambiar arma)
#2

Seguramente la seteas con set_user_maxspeed no ? Tenes que hookear alguna función que llame cada vez que el jugador se mueve y ahí setearle la máxima velocidad.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 12-23-2012 , 14:43   Re: ayuda , bug de velocidad (se acaba al cambiar arma)
#3

te lo dejo por q lo tengo guardado.. aprende a buscar

PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

#define PLUGIN "Reset MaxSpeed"
#define VERSION "1.0"
#define AUTHOR "[R]ak"

new Ham:Ham_Player_ResetMaxSpeed Ham_Item_PreFrame

new g_FreezeTime

public plugin_init() {
    
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""event_new_round""a""1=0""2=0")
    
    
register_logevent("logevent_round_start"2"1=Round_Start")
    
    
RegisterHam(Ham_Player_ResetMaxSpeed"player""fw_Player_ResetMaxSpeed"1)
}

public 
event_new_round()
    
g_FreezeTime true
    
public logevent_round_start()
    
g_FreezeTime false
    
public fw_Player_ResetMaxSpeed(id)
    if(!
g_FreezeTime)
        
set_user_maxspeed(id500.0
es un ejemplo para cambiar el max speed
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 12-23-2012 at 14:44.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
 



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 12:32.


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