SA-MP Forums Archive
[AJUDA] TEXTDRAWІ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] TEXTDRAWІ (/showthread.php?tid=301651)



[AJUDA] TEXTDRAWІ - girafales - 05.12.2011

bom, nгo sei oque estou fazendo mas nao consigo fazer aparecer esse textdraw no servidor.


new Text:caminhoneiro[MAX_PLAYERS]; // topo


public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid,1097,1955.8129,-2181.6062,13.5865);
SetPlayerPos(playerid,2480.3538,1870.8656,24.3753) ;
SetPlayerCameraPos(playerid,2473.7202,1870.9253,25 .7971);
SetPlayerCameraLookAt(playerid,2480.3538,1870.8656 ,24.3753);
SetPlayerFacingAngle(playerid,86.925;
switch(classid)
{
case 0..6:
{
TextDrawShowForPlayer(playerid,caminhoneiro[playerid]);
GameTextForPlayer(playerid,"~g~~h~Trucker",2500,3) ;
gTeam[playerid] = TEAM_TRUCKERS;
}


public OnPlayerConnect(playerid)
{
caminhoneiro[playerid] = TextDrawCreate(530.000000, 410.000000, " ");
TextDrawBackgroundColor(caminhoneiro[playerid], 255);
TextDrawFont(caminhoneiro[playerid], 2);
TextDrawLetterSize(caminhoneiro[playerid], 0.290000, 1.400000);
TextDrawColor(caminhoneiro[playerid], -1);
TextDrawSetOutline(caminhoneiro[playerid], 1);
TextDrawSetProportional(caminhoneiro[playerid], 1);
}


Re: [AJUDA] TEXTDRAWІ - steki. - 05.12.2011

Talvez porque esteja como " " ?


Re: [AJUDA] TEXTDRAWІ - girafales - 05.12.2011

nгo, nгo ja escrevi algo ali nao aparece, nгo e isso