Raised This Month: $ Target: $400
 0% 

Player invisibility and speed problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-05-2014 , 08:21   Re: Player invisibility and speed problem
Reply With Quote #3

Quote:
Originally Posted by Shiina.Mashiro View Post
Did you try to create a variable for get_user_maxspeed?
PHP Code:
new Floatg_oldspeed 
PHP Code:
public cmd_invisible(id)
{
g_oldspeed get_user_maxspeed(id)
...

PHP Code:
public RemoveInvisible(taskid)
{
...
set_user_maxspeed(idg_oldspeed)
...

Ok,I try now,but during the ivisibility when change weapon I lose my speed immediately.
And I need that lasts throughout the all invisibility time.
I forgot to add
PHP Code:
register_event("CurWeapon""EventCurWeapon""be""1=1"
Now works fine. Thank you.

Last edited by Krtola; 12-05-2014 at 08:29.
Krtola is offline
Send a message via Skype™ to Krtola
 



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 15:24.


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