[Ajuda] O que eu fiz de errado? Textdraw
#4

pawn Код:
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18041) : error 028: invalid subscript (not an array or too many subscripts): "ptdwanted"
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18041) : warning 215: expression has no effect
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18041) : error 001: expected token: ";", but found "]"
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18041) : error 029: invalid expression, assumed zero
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\ULTRA2.pwn(18041) : fatal error 107: too many error messages on one line
Passei isso pra OnGamemodeinit
pawn Код:
ptdname = TextDrawCreate(500 ,96 , "Pedro_Mvkxlm");
TextDrawFont(ptdname , 3);
TextDrawLetterSize(ptdname , 0.5, 3.5);
TextDrawColor(ptdname , 0xff0000FF);
TextDrawSetOutline(ptdname , false);
TextDrawSetProportional(ptdname , true);
TextDrawSetShadow(ptdname , 1);


ptdlevel = TextDrawCreate(500 ,101 , "level: 100");
TextDrawFont(ptdlevel , 2);
TextDrawLetterSize(ptdlevel , 0.3, 3.5);
TextDrawColor(ptdlevel , 0xff0000FF);
TextDrawSetOutline(ptdlevel , false);
TextDrawSetProportional(ptdlevel , true);
TextDrawSetShadow(ptdlevel , 1);


ptdpoints = TextDrawCreate(500 ,111 , "points: 1000");
TextDrawFont(ptdpoints , 1);
TextDrawLetterSize(ptdpoints , 0.3, 3.5);
TextDrawColor(ptdpoints , 0xFFFFFFFF);
TextDrawSetOutline(ptdpoints , false);
TextDrawSetProportional(ptdpoints , true);
TextDrawSetShadow(ptdpoints , 1);


ptdwanted = TextDrawCreate(490 ,116 , "points: 1000");
TextDrawFont(ptdwanted , 1);
TextDrawLetterSize(ptdwanted , 0.3, 3.5);
TextDrawColor(ptdwanted , 0xFFFFFFFF);
TextDrawSetOutline(ptdwanted , false);
TextDrawSetProportional(ptdwanted , true);
TextDrawSetShadow(ptdwanted , 1);
E ai coloquei em onplayerspawn:
pawn Код:
TextDrawShowForPlayer(playerid, ptdwanted[playerid]);
TextDrawShowForPlayer(playerid, ptdpoints[playerid]);
TextDrawShowForPlayer(playerid, ptdlevel[playerid]);
TextDrawShowForPlayer(playerid, ptdname[playerid]);
Mas continua sem funcionar ainda deu os 4 erros do inicio =\
Reply


Messages In This Thread
O que eu fiz de errado? Textdraw - by pedrotvr - 22.11.2013, 19:43
Re: O que eu fiz de errado? Textdraw - by DannielCooper - 22.11.2013, 19:48
Re: O que eu fiz de errado? Textdraw - by JeeanK2 - 22.11.2013, 19:48
Re: O que eu fiz de errado? Textdraw - by pedrotvr - 22.11.2013, 20:18
Re: O que eu fiz de errado? Textdraw - by Schocc - 22.11.2013, 20:40
Re: O que eu fiz de errado? Textdraw - by pedrotvr - 23.11.2013, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)