06.04.2015, 21:01
1° Uma dica:
Vocк formatou as strings, e nгo usarб 50% do que declarou na variavel, visualize o tutorial de ******
Why you should not use 256
2° Os erros:
Se vocк usa PlayerTextDrawSetString, entгo seria:
E sim no seu caso serб melhor PlayerTextDraw
de uma lida neste post do Bluex
Agora o erro estб nesta linha:
Leia na wiki a pagina, de PlayerTextDrawSetString
O certo seria vocк concertar a variavel, e alterar a criaзгo para PlayerTextDraw e usar desta forma:
TextDrawns em PlayerTextDraw
@Off
Ta meio errado isto dae '-'
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
pontosag += 1;
new pName[MAX_PLAYER_NAME], info[B][254][/B];
Why you should not use 256
2° Os erros:
PHP код:
new Text:Textdraws[2];
PHP код:
new PlayerText:Textdraws[2];
de uma lida neste post do Bluex
Agora o erro estб nesta linha:
PHP код:
PlayerTextDrawSetString(Textdraws[1](playerid), info));
O certo seria vocк concertar a variavel, e alterar a criaзгo para PlayerTextDraw e usar desta forma:
PHP код:
PlayerTextDrawSetString(playerid,Textdraws[1], info);
PHP код:
Textdraws[0] = PlayerTextDrawCreate(195.000000, 418.000000, "Score: ");
TextdrawshowForAll(Textdraws[0]);
PlayerTextDrawBackgroundColor(Textdraws[0], 255);
PlayerTextDrawFont(Textdraws[0], 3);
PlayerTextDrawLetterSize(Textdraws[0], 0.699999, 2.899999);
PlayerTextDrawColor(Textdraws[0], -16776961);
TextdrawsetOutline(Textdraws[0], 1);
TextdrawsetProportional(Textdraws[0], 1);
Textdraws[1] = PlayerTextDrawCreate(372.000000, 418.000000, "Score: ");
TextdrawshowForAll(Textdraws[1]);
PlayerTextDrawBackgroundColor(Textdraws[1], 255);
PlayerTextDrawFont(Textdraws[1], 3);
PlayerTextDrawLetterSize(Textdraws[1], 0.699999, 2.899999);
PlayerTextDrawColor(Textdraws[1], -16776961);
TextdrawsetOutline(Textdraws[1], 1);
TextdrawsetProportional(Textdraws[1], 1);
Quote:
Mude a variavel de:
PHP код:
PHP код:
PHP код:
|