Raised This Month: $ Target: $400
 0% 

fm_set_user_origin 1 2 3


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-11-2009 , 13:40   fm_set_user_origin 1 2 3
Reply With Quote #1

Hi, i have 3 origins maked.. ex 211 -2121 123
and i want to teleport a player to this origin

fm_set_user_origin(id, ....what..)

im confused right now
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Old 01-11-2009, 14:03
IneedHelp
This message has been deleted by IneedHelp. Reason: im not sure.........
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-11-2009 , 14:04   Re: fm_set_user_origin 1 2 3
Reply With Quote #3

From fakemeta_util
PHP Code:
stock fm_set_user_origin(index/* const */ origin[3]) {
    new 
Float:orig[3];
    
IVecFVec(originorig);

    return 
fm_entity_set_origin(indexorig);

__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-11-2009 , 14:07   Re: fm_set_user_origin 1 2 3
Reply With Quote #4

read my post before posting

EDIT: i need something like this !¬ fm_set_user_origin(id, 123, 123, -312); but is not possbile .. i want to show me a method
__________________

Last edited by tuty; 01-11-2009 at 14:11.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-11-2009 , 14:46   Re: fm_set_user_origin 1 2 3
Reply With Quote #5

Quote:
Originally Posted by tuty View Post
read my post before posting

EDIT: i need something like this !¬ fm_set_user_origin(id, 123, 123, -312); but is not possbile .. i want to show me a method
Why?
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 01-11-2009 , 14:22   Re: fm_set_user_origin 1 2 3
Reply With Quote #6

engfunc(EngFunc_SetOrigin, id, {211.0, -2121.0, 123.0})
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
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 #7

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 #8

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 #9

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 #10

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
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