error 029: invalid expression, assumed zero
#1

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 201redefinition of constant/macro (symbol "pInfo")
F:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : error 029invalid expressionassumed zero
F
:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : warning 215expression has no effect
F
:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : warning 215expression has no effect
F
:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : error 029invalid expressionassumed zero
F
:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : error 029invalid expressionassumed zero
F
:\GTA San Andreas\Freeroam Server\pawno\Untitled1.pwn(1208) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

This is line 1208:

PHP код:
if(sscanf(params"us[128]"idparams)) return SendClientMessage(playeridCOLOR_RED"Syntax: /pm (id) (text)"); 
Reply
#2

could you show enums of pInfo?
Reply
#3

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:

pawn Код:
define params
But that doesnt make any sense
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)