[Ajuda] Ajuda rapidin
#1

Eu to com erro na textdraw que to criando para informar o level do player:

Codigo:
Код:
	new str[256];
	format(str, 256, "Level~w~ %d", PlayerInfo[playerid][pLevel]);
    tLvl[playerid] = TextDrawCreate(516.000,121.0000,str);
	TextDrawColor(tLvl[playerid], VERDEGP);
	TextDrawLetterSize(tLvl[playerid], 0.300000, 1.799999);
	TextDrawFont(tLvl[playerid], 3);
	TextDrawBackgroundColor(tLvl[playerid], 0x00000AA);
	TextDrawSetOutline(tLvl[playerid], 1);
	TextDrawShowForPlayer(playerid,tLvl[playerid]); //depois criar uma que mostra o cel.PlayerInfo[playerid][pPnumber]
Erro:
Код:
C:\Users\JoaoSeidel\Desktop\Sv\gamemodes\RWRP.pwn(3917) : error 021: symbol already defined: "str"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Pfv alguйm pode me ajudar? desde jб agradeзo!
Reply
#2

Deleta o new str[256];
Reply
#3

Quote:
Originally Posted by Dwayne-Pheonix
Посмотреть сообщение
Deleta o new str[256];
Vlw, vou testar..

@edit deu certo! vlw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)