Raised This Month: $ Target: $400
 0% 

Using SourceHook


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pRED*
Join Date: Dec 2006
Old 10-08-2008 , 16:42   Re: Using SourceHook
Reply With Quote #1

Params arrays have the first index (0) as the number of params.

Notice you set
t[0] = 4;
then
int index=params[1];

t[1] is uninitialised..

You don't need the sp_nativeinfo_t since thats just to register the commands as natives.
pRED* 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:40.


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