Raised This Month: $ Target: $400
 0% 

HL Player's Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 07-23-2009 , 11:30   HL Player's Spawn
Reply With Quote #1

Some time ago I tried to get that, but it seems that (obviously) is not the same as Counter-Strike. So, is there a way to identify player's spawns?
__________________
"There is no knowledge, that is not power"
fezh is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-23-2009 , 11:49   Re: HL Player's Spawn
Reply With Quote #2

The Hamsandwich way is the most efficient.

Code:
    #include <amxmodx>     #include <hamsandwich>         public plugin_init()     {         RegisterHam( Ham_Spawn, "player", "CPlayer_Spawn", 1 );     }         public CPlayer_Spawn ( const Player )     {         if ( is_user_alive( Player ) )         {             // Player spawns.         }     }
__________________
Arkshine 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 18:27.


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