textdraws to include
#1

how can i move my textdraws to a include?

i know, create a folder with termination .inc, but, how to use them in my gm?
Reply
#2

ALS_HOOK tutorial: https://sampforum.blast.hk/showthread.php?tid=574534

INCLUDE

PHP код:

hook OnFilterScriptInit
() //y_hooks or learn ALS_HOOK 
{
    
//text creation here
    
return 1;

PHP код:
stock ShowPlayerTD(playerid)
{
    return 
TextDrawShowForPlayer(playeridtd);

FS

PHP код:
ShowPlayerTD(playerid); 
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)