Raised This Month: $ Target: $400
 0% 

HookEvent and SetConVar errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xenogenetics
Member
Join Date: Jul 2007
Old 05-26-2008 , 01:33   HookEvent and SetConVar errors
Reply With Quote #1

Code:
 
HookEvent("round_end", Event_RoundEnd)
 HookEvent("player_death", Event_PlayerDeath, EventHookMode_Post)
 HookEvent("player_connect", EventPlayerConnect, EventHookMode_Post)
 HookEvent("player_disconnect", Event_PlayerDisconnect, EventHookMode_PostNoCopy)
 HookEvent("player_spawn", Event_PlayerSpawn, EventHookMode_Post)
 HookEvent("round_freeze_end", Event_RoundFreezeEnd, EventHookMode_PostNoCopy)
Give me undefined symbol errors for Event_RoundEnd, Event_PlayerDeath etc.

Code:
 SetConVarString("sv_skyname","moocows");
 SetConVarInt(phys_pushscale, 10);
give me argument type mismatch 1 and undefined symbol phys_pushscale errors respectively.
Xenogenetics is offline
pRED*
Join Date: Dec 2006
Old 05-26-2008 , 02:32   Re: HookEvent and SetConVar errors
Reply With Quote #2

http://wiki.alliedmods.net/Category:SourceMod_Scripting
pRED* is offline
Xenogenetics
Member
Join Date: Jul 2007
Old 05-26-2008 , 10:23   Re: HookEvent and SetConVar errors
Reply With Quote #3

I know about that. I followed it exactly which is why I am wondering why it is not working.

EDIT: I am doing things a different way now and it is working, thanks for the help!

Last edited by Xenogenetics; 05-26-2008 at 11:02.
Xenogenetics 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 21:51.


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