Raised This Month: $ Target: $400
 0% 

HAMSANDWICH info_deathmatch_start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-21-2009 , 17:32   HAMSANDWICH info_deathmatch_start
Reply With Quote #1

Hi Friends, Why

RegisterHam(Ham_Spawn, "info_deathmatch_start")

Giveme a Warning Msg that Cant Found that ClassName in CS DLL?

Thanks.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-21-2009 , 17:37   Re: HAMSANDWICH info_deathmatch_start
Reply With Quote #2

info_player_deathmatch (Ts)
info_player_start (CTs)

YoU CaN DiSaBlE ThE FoRwArD @ plugin_init ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-21-2009 , 17:47   Re: HAMSANDWICH info_deathmatch_start
Reply With Quote #3

Yes. I know. But Why I can hook the Spawn in plugin_precache ?
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-21-2009 , 17:49   Re: HAMSANDWICH info_deathmatch_start
Reply With Quote #4

Because "info_deathmatch_start" doesn't exist ?
Make sure you have typed the correct name (the one in the first post is wrong)

This works for me :
PHP Code:
public plugin_precache()
{
    
RegisterHam(Ham_Spawn"info_player_deathmatch""SpawnPoint_Spawn")
    
RegisterHam(Ham_Spawn"info_player_start""SpawnPoint_Spawn")
}

public 
SpawnPoint_SpawniEnt )
{
    
server_print("New Spawn %d"iEnt)

Code:
New Spawn 56
New Spawn 57
New Spawn 58
New Spawn 59
New Spawn 60
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 03-21-2009 at 17:53.
ConnorMcLeod is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 03-21-2009 , 17:56   Re: HAMSANDWICH info_deathmatch_start
Reply With Quote #5

Quote:
Originally Posted by AntiBots View Post
Yes. I know. But Why I can hook the Spawn in plugin_precache ?
can or can't?

If can't - look at Connor's post.
If can - it's because map entities spawn at plugin_precache.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-21-2009 , 17:59   Re: HAMSANDWICH info_deathmatch_start
Reply With Quote #6

Wow Sorry. It was my Error typing

Sorry.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
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:02.


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