Raised This Month: $ Target: $400
 0% 

get angles


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dr.G
Senior Member
Join Date: Nov 2008
Old 12-19-2008 , 15:41   Re: get angles
Reply With Quote #3

Thanks! but it prints out something thats not true. When iam in origin
Quote:
1561.0,-1756.0,-475.0
i know the origin cuz i placed a model. It prints out
Quote:
1153728298, -992259791, -10093537
This is the code now:

PHP Code:
public get_origin(id
{
 new 
Float:origin[3];
 
pev(idpev_originorigin);
 
client_print(idprint_console"%i, %i, %i"origin[0], origin[1], origin[2])
 return 
PLUGIN_HANDLED

Or maybe its some kinda math thing i dont understand since #1 is a +origin, and the next two is minus like where i placed the model.. Can this print be fixed to a none binary numbers or what it is now?

Last edited by Dr.G; 12-19-2008 at 15:42. Reason: typo
Dr.G is offline
 



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 09:10.


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