Raised This Month: $ Target: $400
 0% 

Set Speed _ Hide Model Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
snack_koo
Junior Member
Join Date: Jan 2012
Old 07-07-2013 , 03:54   Set Speed _ Hide Model Problem
Reply With Quote #1

Hi all forum. Please help me to solve 2 problems:
I./ I make a test speed - change speed to 9999 ro run faster
plugin init()
PHP Code:
RegisterHamHam_Item_PreFrame"player""fw_PlayerReset_MaxSpeed_Post"
then
PHP Code:
public fw_PlayerReset_MaxSpeed_Post(id)
{    
     
set_pev(idpev_maxspeed,9990.0)         
    

all var values :
cl_forwardspeed : 9999
cl_backspeed: 9999
cl_sidespeed:9999
sv_maxspeed:9999

But nothing happen - i still run with normal speed ? What is my problem? Show me

II./ I use
PHP Code:
set_pev(idpev_viewmodel0
to hide my v_model (try to hide my 1st view model)
It worked but i've got problem when weapon shoot.
If I shoot 5 bullet, sometime just 3 bullet fly out (2 bullet seem doesn't work)

How to solve 2 probem above? Thanks alot !
snack_koo is offline
Reply



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


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