error 029: invalid expression, assumed zero - 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 029: invalid expression, assumed zero (
/showthread.php?tid=403236)
error 029: invalid expression, assumed zero -
mickos - 29.12.2012
Oii,
I have a little problem, I dont know how to fix it, I have look everything for info how to fix this, but I didnt found anything.
Well, My compiler send me this:
PHP код:
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(62) : warning 201: redefinition of constant/macro (symbol "pInfo")
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : error 029: invalid expression, assumed zero
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : warning 215: expression has no effect
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : warning 215: expression has no effect
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : error 029: invalid expression, assumed zero
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : error 029: invalid expression, assumed zero
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : 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.
This is line 1208:
PHP код:
if(sscanf(params, "us[128]", id, params)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /pm (id) (text)");
Re: error 029: invalid expression, assumed zero -
mineralo - 29.12.2012
could you show enums of pInfo?
Re: error 029: invalid expression, assumed zero -
mickos - 29.12.2012
first it was zcmd by me, but I have changed it in strcmp..
pawn Код:
CMD:pm(playerid, params[])
{
I miss playerid and params in this:
pawn Код:
if (strcmp("/pm", cmdtext, true, 10) == 0)
{
Thats the reason but I dont know how to fix it..
I have tried:
But that doesnt make any sense