Raised This Month: $ Target: $400
 0% 

Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma


  
 
 
Thread Tools Display Modes
Author Message
AlgoChikitito
BANNED
Join Date: Feb 2011
Location: Espaņa
Old 06-08-2011 , 15:07   Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#1



Alguien Me Explica

Use "set_user_maxspeed", pero al cambiar de arma se va la velocidad


Gracias.
AlgoChikitito is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 06-08-2011 , 15:34   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#2

PHP Code:
//plugin_init
register_event("CurWeapon","CheckWeapon","be","1=1")

//public...
public CheckWeapon() { //Al cambiar de arma...

     //Tu code

Stereo is offline
_Venganza_
Senior Member
Join Date: Apr 2011
Location: Valparaiso, Chile
Old 06-08-2011 , 16:45   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#3

Lo que buscas es resume en esto !
_Venganza_ is offline
AlgoChikitito
BANNED
Join Date: Feb 2011
Location: Espaņa
Old 06-08-2011 , 17:27   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#4

stereo estirate y ponme un ejmplo
AlgoChikitito is offline
Manu127
Veteran Member
Join Date: Jul 2010
Location: Argentina
Old 06-08-2011 , 17:34   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#5

siempre le ponen el search... si siempre van a poner el search directamente no posteen y que nadie le responda... todo mala onda :S

PHP Code:
//plugin_init 
register_event("CurWeapon","CheckWeapon","be","1=1"

//public... 
public CheckWeapon() { //Al cambiar de arma... 

     //Tu code 

lo que te puso stereo es loq ue debes hacer... registras el evento en el plugin_init

y luego le seteas la velocidad cuando cambia el arma...

por supuesto, no te olvides de habersela seteado antes tambien ^^

yo me acuerdo, que usaba booleans para saber si tenia que tener mas velocidad o no :p
__________________
Manu127 is offline
Send a message via MSN to Manu127 Send a message via Skype™ to Manu127
AlgoChikitito
BANNED
Join Date: Feb 2011
Location: Espaņa
Old 06-08-2011 , 17:51   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#6

PHP Code:
//plugin_init
register_event("CurWeapon","CheckWeapon","be","1=1")

//public...
public CheckWeapon() { //Al cambiar de arma...

Set_user_maxspeed(id350)
     
//Tu code

Valdria? Estoy desde el movil y no veo una mierda
AlgoChikitito is offline
Manu127
Veteran Member
Join Date: Jul 2010
Location: Argentina
Old 06-08-2011 , 18:00   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#7

sep, tendria que andar.
__________________
Manu127 is offline
Send a message via MSN to Manu127 Send a message via Skype™ to Manu127
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 06-08-2011 , 18:21   Re: Setear Velocidad Sin Que Se Le Quite Al Cambiar De Arma
#8

http://forums.alliedmods.net/showpos...2&postcount=11
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
 



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


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