Raised This Month: $51 Target: $400
 12% 

How to get coords with ease.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:          Approver:   twistedeuphoria (82)
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-24-2005 , 19:16   How to get coords with ease.
Reply With Quote #1

I made this because I'm tired of people asking me how to get coords in-game... Its a very simple user_origin getter for people who want to get coords, but are too ignorant how to do status in console or the amxx teleport menu.

Code:
#include <amxmodx> #include <amxmisc> new whatsmyorigin[32][3] public plugin_init() {     register_plugin("Origin-Getter","V.1","-Snort-Leader")     register_clcmd("say /userorigin","whereami")     register_clcmd("say /originatcrosshair","aimcoords")     register_clcmd("say /lastbullet","lastbullet")     }     public whereami(id) {     get_user_origin(id,whatsmyorigin[id])     client_print(id,print_chat,"* You are at X %i, Y %i, Z %i!^n",whatsmyorigin[id][0],whatsmyorigin[id][1],whatsmyorigin[id][2])     return PLUGIN_HANDLED } public aimcoords(id) {     get_user_origin(id,whatsmyorigin[id],3)     client_print(id,print_chat,"* You are aiming at X %i, Y %i, Z %i!^n",whatsmyorigin[id][0],whatsmyorigin[id][1],whatsmyorigin[id][2])     return PLUGIN_HANDLED } public lastbullet(id) {     get_user_origin(id,whatsmyorigin[id],4)     client_print(id,print_chat,"* Your last bullet hit at X %i, Y %i, Z %i!^n",whatsmyorigin[id][0],whatsmyorigin[id][1],whatsmyorigin[id][2])     return PLUGIN_HANDLED }

Commands:
say /userorigin
say /originatcrosshair
say /lastbullet ** Might not work unless you are playing CS **
Attached Files
File Type: sma Get Plugin or Get Source (userorigin.sma - 1862 views - 1.0 KB)
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
 



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:48.


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