Raised This Month: $ Target: $400
 0% 

Okay I am not master at this.....Enitys


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-12-2005 , 12:22   Okay I am not master at this.....Enitys
Reply With Quote #1

Okay how do i make an enity go around a player?

like this?
this is not the complete code...i am just trying tro direct the enity....

Code:
enity_set_origin == cs_get_player_origin
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-12-2005 , 12:25  
Reply With Quote #2

hummm, it is possible to make it go around, but i think you need to calculate it with sin then....

dont know if amxx support that...
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-12-2005 , 13:46  
Reply With Quote #3

awwwww......
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-12-2005 , 14:06  
Reply With Quote #4

I wish it was that simple.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-12-2005 , 14:30  
Reply With Quote #5

but why would that not work...

i mean look the enity origin is set to the player origin......

what would cause it not to work?
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-12-2005 , 15:01  
Reply With Quote #6

Code:
new Float:origin[3] entity_get_vector(id,EV_VEC_origin,origin) entity_set_vector(ent,EV_VEC_origin,origin)
Replace "ent" with your entity.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-12-2005 , 15:56  
Reply With Quote #7

i have a code how to get something to circle around something, but i cant remeber where it is, i just have to find it...
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-12-2005 , 16:05  
Reply With Quote #8

Thank you guys....i know this is off topic but i decided to post here instead of making a new thread.......
This code crashes the sever.....sever crash is caused by the emit sound...how to i fix it?


Code:
#include <amxmodx> #include <engine> #include <cstrike> #define PLUGINNAME    "Tiffany Plugin" #define VERSION        "0.1" #define AUTHOR        "Zenith (VanillA Ice)" new move new gasp1 new hazardous_fart public plugin_init() {     register_plugin(PLUGINNAME, VERSION, AUTHOR)     register_clcmd("say /tiffany" , "sister");     register_clcmd("say /kitty" ,  "cat"); } //-------------------------------------------------------------------- public plugin_precache() { move = precache_sound ("DF\move"); hazardous_fart = precache_sound ("hazardous_farts\hazardous_fart"); gasp1 = precache_sound ("hazardous_farts\gasp1"); return PLUGIN_CONTINUE; } //------------------------------------------------------------------ public sister(id) { set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 1.0, 1.2, 0.5, 0.15, 1);             show_hudmessage(0, "TIFFANY IS THE BEST SISTER IN THE  WORLD") ;  emit_sound (0, 3, "move", 1, 1,  1); return PLUGIN_CONTINUE; } //-------------------------------------------------------------------------- public cat(id) { set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 1.0, 1.2, 0.5, 0.15, 1);             show_hudmessage(0, "MEEEEEEOOOOOOWWWWWWW");   emit_sound (0, 3, " hazardous_fart" , 1,1 ,1  ); emit_sound (0, 3, "gasp1", 1, 1,  1); return PLUGIN_CONTINUE; } //---------------------------------------------------------------------------- //End Of File -----------------------------------------------------------------


btw this was made for my little sister since she wanted one for her
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-12-2005 , 16:54  
Reply With Quote #9

im not sure, but i think you precach them wrong....
look in a sound plugin...
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-12-2005 , 17:00  
Reply With Quote #10

no i did the pitch and stuff wrongs cuz it comes up....

sv_PITCH or Sv_SOUND_VOLUME and stuff like that.....
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
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 09:00.


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