SA-MP Forums Archive
enum - 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)
+--- Thread: enum (/showthread.php?tid=598341)



enum - GeneralAref - 11.01.2016

how to add string 128 on this code?works for all text[0,1,2,....]
PHP код:
enum lantext
{
    
text0,text1,text2
};
new 
LanguageText[lantext]; 



Re: enum - AbyssMorgan - 11.01.2016

PHP код:
enum lantext 

    
text0[128],
    
text1[128],
    
text2[128]
}; 

new 
LanguageText[lantext];