Raised This Month: $ Target: $400
 0% 

pev(id, pev_velocity, velocity) | I'm confused


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
StickP0le
Senior Member
Join Date: Jan 2010
Location: cuantocabron.com
Old 12-15-2011 , 15:05   Re: pev(id, pev_velocity, velocity) | I'm confused
Reply With Quote #1

you have to change this
PHP Code:
 client_print(idprint_chat"[SPEED: %i %i %i]"vel[0], vel[1], vel[2]) 
for this
PHP Code:
 client_print(idprint_chat"[SPEED: %f %f %f]"vel[0], vel[1], vel[2]) 
why %f? because the user current speed is a float, try that and let me know if work
StickP0le 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 12:11.


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