SA-MP Forums Archive
[SOLVED] Replace GameTextForPlayer (and ForAll) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED] Replace GameTextForPlayer (and ForAll) (/showthread.php?tid=101104)



[SOLVED] Replace GameTextForPlayer (and ForAll) - godknightx - 08.10.2009

Hy

How can i replace the GameTextForPlayer, to my function?

So, replace GameTextForPlayer to Old_GameTextForPlayer?

For example:
pawn Код:
stock(or public) GameTextForPlayer(playerid, string[], time, style)
{
    Log(string);
    Old_GameTextForPlayer(playerid, string, time, style);
    return 1;
}
Thanx for help.

Edit: Thanx, i solved the problem ^^