[Ajuda]Erro String
#1

Erro:

Код:
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(7766) : error 017: undefined symbol "string"
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(7769) : error 017: undefined symbol "string"
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(7769) : error 017: undefined symbol "string"
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(7769) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Erick\Desktop\Hale\gamemodes\BS4a.pwn(7769) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
LINHA DO ERRO

Код:
format(string, sizeof(string),"<< O Hitman Cumpriu o contrato em %s e recebeu R$%d >>",PlayerName(playerid),PlayerInfo[playerid][pHeadValue],sendername);
Reply
#2

new string[128]; em cima disso
Reply
#3

Jб tem essa String...
Reply
#4

Claro que nгo tem, mas de qualquer forma tome
pawn Код:
new Str[128];
format(Str, sizeof(Str),"<< O Hitman Cumpriu o contrato em %s e recebeu R$%d >>",PlayerName(playerid),PlayerInfo[playerid][pHeadValue],sendername);
Reply
#5

Agora sim =D
Reply
#6

Coloca
PHP код:
new string[128]; 
assim vc n precisa criar sempre em tds cods que for usar...
Reply
#7

Quote:
Originally Posted by Dark.Angel
Посмотреть сообщение
Coloca
PHP код:
new string[128]; 
assim vc n precisa criar sempre em tds cods que for usar...
O manolin disse que jб tentou e nгo deu (:
Reply
#8

new string[256];

se n der
Reply
#9

PHP код:
static sStr128 ];
format(sStrsizeof(sStr),"<< O Hitman Cumpriu o contrato em %s e recebeu R$%d >>",PlayerName(playerid),PlayerInfo[playerid][pHeadValue],sendername); 
Reply
#10

O cara jб conseguiu solucionar o problema dele, nгo precisa ficar postando sem necessidade aqui.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)