Raised This Month: $ Target: $400
 0% 

Info_player_deathmatch and Info_player_start


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Votorx
Senior Member
Join Date: Jun 2004
Old 09-09-2004 , 08:18  
Reply With Quote #9

I'm running it through a for loop with a few ifs to exit out of the loop once an invalid ent with the classnames are found. I'm using engine_get_vector to retrieve their origins and storing them into arrays which I print out later on to see exactly what their origins are. I would use get_keyvalue but seeing as it has a bug I guess I'll have to wait untill TP5.

Quote:
Here's just an idea: use fakemeta (surprise!) to hook the pfn_spawn function, possibly the post one, and in the forward you just set the player's origin to wherever you want.
How would I go about hooking pfn_spawn function?

P.S - If needed I'll post the exact code when I get the chance.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
 



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 17:23.


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