Raised This Month: $ Target: $400
 0% 

Get user "place"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 06-01-2013 , 11:54   Re: Get user "place"
Reply With Quote #3

Quote:
Originally Posted by simanovich View Post
It's called origin.

The origin have 3Dementions:
X, Y and Z

PHP Code:
new origin[3];
get_user_origin(client,origin); 
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say .orogin""checkorigin");
}

public 
checkorigin(id) {
    new 
origin[3];
    
get_user_origin(id,origin);  
    
client_print(idprint_chat"Your number is %s."origin);    

Result:
PHP Code:
Your number is /. 
__________________


Last edited by piepie; 06-01-2013 at 12:00.
piepie 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 16:20.


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