28.02.2010, 13:11
Hi, i haven't scripted in a while now, and started over again, but i ran onto this error:
i've handled before with this error i belive, but i can't remember ;<
this is the line:
I've allready tried formatting the text as the following:
but is giving errors:
Код:
C:\Users\XXXXXX\Desktop\SA-MP SERV\gamemodes\RP.pwn(417) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
this is the line:
Код:
TextDrawSetString(SrvMSG, text);
Код:
new string2[256]; format(string2, sizeof(string2), "%s", text); TextDrawSetString(SrvMSG, string2); TextDrawShowForAll(SrvMSG);
Код:
C:\Users\XXXXXX\Desktop\SA-MP SERV\gamemodes\RP.pwn(418) : error 029: invalid expression, assumed zero C:\Users\XXXXXX\Desktop\SA-MP SERV\gamemodes\RP.pwn(418) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.