Raised This Month: $ Target: $400
 0% 

fm_set_user_origin 1 2 3


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-11-2009 , 14:24   Re: fm_set_user_origin 1 2 3
Reply With Quote #1

PHP Code:
new Origin[3];

Origin[0] = 211.0;
Origin[1] = -2121.0;
Origin[2] = 123.0;

fm_set_user_origin(indexOrigin); 
__________________

Last edited by xPaw; 01-11-2009 at 15:07.
xPaw is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-11-2009 , 14:51   Re: fm_set_user_origin 1 2 3
Reply With Quote #2

Quote:
Originally Posted by xPaw View Post
PHP Code:
new Float:Origin[3];

Origin[0] = 211.0;
Origin[1] = -2121.0;
Origin[2] = 123.0;

fm_set_user_origin(indexOrigin); 
Fixed.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-11-2009 , 15:16   Re: fm_set_user_origin 1 2 3
Reply With Quote #3

tag mistach on fm_set_user_origin :\
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-11-2009 , 15:17   Re: fm_set_user_origin 1 2 3
Reply With Quote #4

You don't even need to use fm_set_user_origin().
Just use
Code:
set_pev(index, pev_origin, Float:origin[3]);
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-11-2009 , 15:24   Re: fm_set_user_origin 1 2 3
Reply With Quote #5

i got new origins but...

PHP Code:

new Float:origin[3];

origin[0] = 105.0;
origin[1] = -885.0;
origin[2] = 1212.0;
        
set_pev(idpev_originFloat:origin[3]); 

__________________

Last edited by tuty; 01-11-2009 at 15:33.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 01-11-2009 , 15:38   Re: fm_set_user_origin 1 2 3
Reply With Quote #6

@tuty: the 'origin' variable is already a Float, so you don't have to write again 'Float:'.

PHP Code:
engfuncEngFunc_SetOriginentorigin ); 
Though you'll find more if you search
__________________

anakin_cstrike is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-11-2009 , 15:41   Re: fm_set_user_origin 1 2 3
Reply With Quote #7

Okay, tuty. You don't seem to know the basics of AMXX scripting.
Therefore, I want you to read these:

http://wiki.amxmodx.org/Introduction_to_Pawn
http://wiki.amxmodx.org/Pawn_Tutorial
http://wiki.amxmodx.org/Intro_to_AMX_Mod_X_Scripting
http://wiki.amxmodx.org/Optimizing_P...X_Scripting%29
http://wiki.amxmodx.org/Advanced_Scr...28AMX_Mod_X%29
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 01-11-2009 , 15:44   Re: fm_set_user_origin 1 2 3
Reply With Quote #8

Quote:
Originally Posted by Exolent[jNr] View Post
Okay, tuty. You don't seem to know the basics of AMXX scripting.
Therefore, I want you to read these:
=]
__________________

anakin_cstrike is offline
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 01:39.


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