View Single Post
InstantDeath
Senior Member
Join Date: Mar 2007
Old 01-27-2010 , 04:48   Re: [EXTENSION] SDK Hooks 1.2 (Updated 01/15/10)
#336

Um... Wtf?

Code:
L 01/27/2010 - 03:42:59: [SM] Native "SDKHook" reported: Entity 1 is invalid
L 01/27/2010 - 03:42:59: [SM] Displaying call stack trace for plugin "crpg.smx":
L 01/27/2010 - 03:42:59: [SM]   [0]  Line 312, D:\Steam\SteamApps\jasace5\counter-strike source\cstrike\addons\sourcemod\scripting\crpg.sp::OnClientAuthorized()
my code its pointing to:
Code:
public OnClientAuthorized(client, const String:auth[])
{
    SDKHook(client, SDKHook_Touch, Entity_Touch);
Could someone explain to me why its telling me Entity 1 is invalid? I had like 3 bots on at the time. could that be the reason?
__________________
InstantDeath is offline