Raised This Month: $ Target: $400
 0% 

set/get_user_origin problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 02-25-2006 , 11:28  
Reply With Quote #2

Here:
Code:
    get_user_origin(id, origin, 3)

Code:
// amxmodx.inc /* Gets origin from player. * Modes: <b><font color="green">* 0 - current position.</font></b> * 1 - position from eyes (weapon aiming). * 2 - end position from player position. <b><font color="red">* 3 - end position from eyes (hit point for weapon). </font></b> * 4 - position of last bullet hit (only CS). */ native get_user_origin(index, origin[3], mode = 0);

Also better check mapname only once in plugin init. If map equal your map name then set ad. task and register +/- commands.
VEN 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 20:24.


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