error 017: undefined symbol "string" - 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 017: undefined symbol "string" (
/showthread.php?tid=640232)
error 017: undefined symbol "string" -
mertcan123 - 30.08.2017
(7032) : error 029: invalid expression, assumed zero
(7032 -- 7034) : error 029: invalid expression, assumed zero
(7034) : error 017: undefined symbol "string"
(7034) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
}
*/
new string[128];
SpamStrings[playerid] +=3;
if(SpamStrings[playerid] >= MAX_SPAM)
{
format(string,sizeof(string),"%s lьtfen spam yapmayınız.",sabbv);
SendClientMessage(playerid, COLOR_ERROR, string);
return 1;
}
can anyone help me?
Re: error 017: undefined symbol "string" -
blackgangs - 30.08.2017
You have to define the string.