SA-MP Forums Archive
const parameter - 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: const parameter (/showthread.php?tid=659720)



const parameter - g1venchy - 14.10.2018

when i want to pass const string variable into TextDrawCreate it will create
error 035: argument type mismatch (argument 3)

PHP код:
Text:AddRemoveGTD(Float:x,Float:y,const txt[]){    
    return 
TextDrawCreate(x,y,txt);