Raised This Month: $ Target: $400
 0% 

get_user_origin keeps returning 0,0,0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Drak
Veteran Member
Join Date: Jul 2005
Old 01-05-2008 , 02:10   Re: get_user_origin keeps returning 0,0,0
Reply With Quote #4

Oh.. Dur.. Change:
Code:
 format(text, 30, " %f, %f, %f", angle[0], angle[1], angle[2]);
To:
Code:
 format(text, 29, " %i, %i, %i", angle[0], angle[1], angle[2]);
'get_user_origin()' doesn't return a float.

Also, that is going to be writing to a file.. A lot.. That would reach 100 lines in a few seconds.
You could make a task instead, to make it write every few seconds or so.
__________________
Oh yeah

Last edited by Drak; 01-05-2008 at 02:13.
Drak is offline
Send a message via MSN to Drak
 



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 11:08.


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