Quote:
Originally Posted by JhowWatkins
Do seu jeito gerou alguns avisos :/
PHP код:
stock TextDrawUpdate(playerid)
{
new STR [270];
PlayerTextDrawShow(playerid, NOME[playerid]);
format(STR, sizeof(STR), "[~y~%s~w~]", PegarNome(playerid));
PlayerTextDrawSetString(playerid, NOME[playerid], STR);
format(STR, sizeof(STR), "~w~Level: %d", PlayerInfo[playerid][pLevel]);
PlayerTextDrawSetString(playerid, TDEditor_PTD[playerid][1], STR);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][1]);
format(STR, sizeof(STR), "~w~EXP:", PlayerInfo[playerid][pExp]);
PlayerTextDrawSetString(playerid, TDEditor_PTD[playerid][2], STR);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][2]);
format(STR, sizeof(STR), "~w~MV: %d", PlayerInfo[playerid][pCasher]);
PlayerTextDrawSetString(playerid, TDEditor_PTD[playerid][4], STR);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][4]);
return 1;
}
Eu nгo coloquei as coisas que vocк pediu pra colocar na OnPlayerSpawn e coloquei aqui na Stock Que eu fiz....
Estб certo?
|
Vocк esta colocando o textdraw aonde? sabe que textdraws Playerid e na
Neh?
й tambem definiu a variavel da textdraw do Jeito que mandei ne?
Код:
new PlayerText:Nome[MAX_PLAYERS];