[Ajuda] TextDrawSetString Ajuda.
#1

Bem eu estou com seguintes erros nessas linhas eu jб procurei entender mais ainda nгo conseguir resolver, espero que me ajudem.
Код HTML:
BMM.pwn(29456) : error 028: invalid subscript (not an array or too many subscripts): "forum2"
BMM.pwn(29456) : warning 215: expression has no effect
BMM.pwn(29456) : error 001: expected token: ";", but found "]"
BMM.pwn(29456) : error 029: invalid expression, assumed zero
BMM.pwn(29456) : fatal error 107: too many error messages on one line

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


4 Errors.
Linha dos erros:
Код HTML:
    	new check = PlayerInfo[playerid][pLevel]+1;
        format(gstring,sizeof(gstring),"~b~Nome: ~w~%s    ~b~Level: ~w~%d    ~b~Respeito: ~w~%d~b~ / ~w~%d    ~b~Celular: ~w~%d    ~b~Creditos: ~w~%d", PlayerName(playerid), PlayerInfo[playerid][pLevel],
		PlayerInfo[playerid][pExp], check*levelexp, PlayerInfo[playerid][pPnumber], PlayerInfo[playerid][pCreditos]);
	  TextDrawSetString(forum2[playerid], gstring);
	    gmsg[playerid] = 1;
Espercificamente nesta linha aqui:
Код HTML:
TextDrawSetString(forum2[playerid], gstring);
Reply
#2

Up Please!!
Reply
#3

substitua sua variavel forum2 por esta!!!
PHP код:
new Text:forum2[MAX_PLAYERS]; 
Reply
#4

Mais no caso da TextDraw? ficando new Text:Forum2[MAX_PLAYERS]; ASSIM?
Reply
#5

sim !


@edit

Sу para deixar claro й que vocк estб usando TextDraws erradamente, olhe estб funзгo

CreatePlayerTextDraw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)