mercredi 20 juillet 2016

[Ajuda] Não aparece a textdraw

Let's block ads! (Why?)



[Ajuda] Não aparece a textdraw
Old 21/07/2016, 12:08 AM   #2

Little Clucker

 
JacKPanK's Avatar
 

Join Date: Dec 2015

Posts: 24

Reputation: 1

DefaultRe: Não aparece a textdraw

PHP Code:

//NO TOPO DA GM
#include <a_samp>
new PlayerText:Score; //NO public OnplayerConnect public OnPlayerConnect(playerid)
{
Score CreatePlayerTextDraw(playerid,52.0316.0,"");
PlayerTextDrawBackgroundColor(playeridScore255);
PlayerTextDrawFont(playerid,Score1);
PlayerTextDrawLetterSize(playerid,Score0.51991.6000);
PlayerTextDrawColor(playerid,Score, -1);
PlayerTextDrawSetOutline(playerid,Score1);
SetTimerEx("AtualizarScore"1000true,"i",playerid);
}
//NO FINAL DA GM forward AtualizarScore(playerid);
public 
AtualizarScore(playerid)
{
new 
STR[26];
format(STR26"~r~Level:~w~%d"GetPlayerScore(playerid));
PlayerTextDrawShow(playerid,Score);
PlayerTextDrawSetString(playerid,Score,STR);
return 
true;

Avisa ai se der certo.

@edit

Coloca direito cara porque no meu ta dando certo.

__________________
JacKPanK is online now   Reply With Quote

Aucun commentaire:

Enregistrer un commentaire