Raised This Month: $ Target: $400
 0% 

get origin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SeNz[0]r
Junior Member
Join Date: Aug 2009
Old 06-11-2010 , 07:24   get origin
Reply With Quote #1

I'm not sure at origin . I did a plugin : when you write in the console "bind x storm" and you press x you throw lighting . I did with TE_LIGHTING etc ... coord are ok , but the origin i don't know how to pot it . I put this :

Code:
   new Float:vOrigin[ 3 ]; 
   fm_get_aim_origin( id, vOrigin ); 
      
   new origin[3]
   get_user_origin(id, origin, 3)
I know it isn't ok ...
__________________
www.linkcs - a new comunity who want you !
Register is free ! Come on .
SeNz[0]r is offline
portocala
Member
Join Date: Jun 2010
Old 06-11-2010 , 08:12   Re: get origin
Reply With Quote #2

Code:
new origin[3];
get_user_origin(id, origin);
origin[0] = X
origin[1] = Y
origin[2] = Z

You used wrong the third parameter.

Check http://www.amxmodx.org/funcwiki.php?go=func&id=162
portocala is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-11-2010 , 10:13   Re: get origin
Reply With Quote #3

An old utility that i made, but maybe help you: http://forums.alliedmods.net/showthr...ghlight=origin
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Reply



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 13:49.


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