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 017: undefined symbol "DTextInfo"
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\SU-RP\gamemodes\SURP.pwn(58932) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB 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);