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



Error - aDo7 - 25.01.2014

Hey,
I tried to add cmd:dtext but i got some errors..


PHP код:
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : error 017undefined symbol "DTextInfo"
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : warning 215expression has no effect
C
:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : error 001expected token";"but found "]"
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : error 029invalid expressionassumed zero
C
:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors


Into this Line


PHP код:
    format(DTextInfo[textid][dtDescription], 128"%s"textname); 



Re : Error - MCZOFT - 25.01.2014

You need to Define your DTextInfo

Try this if it will work .
PHP код:
     format(DTextInfo[textid], [dtDescription], 128"%s"textname);