[Tool/Web/Other] (Online) Hook to Callback's and Fuction's
#1

Link
Click here

Code
http://pastebin.com/5JCSR2da
Made in HTML!

Example Hook

Callback
pawn Code:
public OnPlayerConnect(playerid)
{
    // your code here...

    #if defined Ips_OnPlayerConnect
        return Ips_OnPlayerConnect(playerid);
    #else
        return true;
    #endif
}

#define OnPlayerConnect Ips_OnPlayerConnect

#if defined Ips_OnPlayerConnect
    forward OnPlayerConnect(playerid);
#endif
Fuction
pawn Code:
stock Ips_GivePlayerMoney(playerid, value)
{
    // your code here...

    return true;
}

#if defined _ALS_GivePlayerMoney
    #undef GivePlayerMoney  
#else
    #define _ALS_GivePlayerMoney
#endif
#define GivePlayerMoney Ips_GivePlayerMoney

Thanks.
Reply
#2

good job, +rep
Reply
#3

Quote:
Originally Posted by Jankingston
View Post
good job, +rep
thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)