[help] i have errors
#1

Why i have this errors:

Код:
D:\Infinity DM Stunt\gamemodes\infinitygm.pwn(1152) : error 029: invalid expression, assumed zero
D:\Infinity DM Stunt\gamemodes\infinitygm.pwn(1152) : error 029: invalid expression, assumed zero
D:\Infinity DM Stunt\gamemodes\infinitygm.pwn(1152) : error 029: invalid expression, assumed zero
D:\Infinity DM Stunt\gamemodes\infinitygm.pwn(1152) : fatal error 107: too many error messages on one line
on this code

pawn Код:
stock SendClientMessageUTF8(playerid, color, text[])
{
new str[128];
UTF8_Decode(text, str, sizeof(str));
SendClientMessage(playerid, color, str);
return true;
}
This is line 1152

Код:
 new str[128];
Reply
#2

bump!
Reply
#3

im not that good at scripting, besides you only showed a little part of your code so im gonna assume that your error is in not defining what the str is. e.g
myString[128] = "text here";
Reply
#4

Are you using any includes/other functions ?
because im getting different errors:
Код:
C:\Users\Jonathan\Desktop\test.pwn(12) : error 017: undefined symbol "UTF8_Decode"
C:\Users\Jonathan\Desktop\test.pwn(12) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)