Raised This Month: $ Target: $400
 0% 

Get walking ground origin or smthn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
outsiderlv
Senior Member
Join Date: Mar 2010
Old 07-29-2010 , 13:39   Get walking ground origin or smthn
Reply With Quote #1

PHP Code:
        new id read_data(2)
        new 
iOrigin[3]
        
iOrigin[0] = read_data(3)
        
iOrigin[1] = read_data(4)
        
iOrigin[2] = read_data(5)
        new 
iPlayerOrigin[3]
        
get_user_origin(idiPlayerOrigin)
        
        new 
iDistance get_distance(iPlayerOriginiOrigin)
        
        new 
name[35];
        
get_user_name(id,name,34);

        
        
ColorChat(0RED"^x03%s^x01 spray'd^x04 %d units^x01 high!",name,iDistance); 
I need to get the distance from ground, not the person. How can i do that?
outsiderlv 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 00:12.


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