[Ajuda] Como coloco isso pra funcionar? *.*
#1

Bom galera , queria ajuda nesses 'textdraws' , queria saber como por ele para funcionar ex: player comprar casa e mudar de N/A para o id da casa, player comprar vip e mudar de N/A para 'Sim' e assim por diante.

Public:
Код:
public OnPlayerUpdate(playerid)
{
	SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);

    new string[128];
    format(string, sizeof(string), "~w~Casa: ~r~N/A    ~w~Empresa: ~r~N/A    ~w~Vip: ~r~N/A    ~w~Nick: ~r~~h~%s    ~w~Level: ~g~~h~%d", PlayerName(playerid), PlayerInfo[playerid][pLevel]);
    TextDrawSetString(Textdraw18 [ playerid ], string);
    return 1;
}
Textdraw:
Код:
	Textdraw18[i] = TextDrawCreate(26.000000, 433.000000, "~w~Casa: ~r~N/A    ~w~Empresa: ~r~N/A    ~w~Vip: ~r~N/A    ~w~Nick:     ~w~Level: ");
	TextDrawBackgroundColor(Textdraw18[i], 255);
	TextDrawFont(Textdraw18[i], 1);
	TextDrawLetterSize(Textdraw18[i], 0.400000, 1.300000);
	TextDrawColor(Textdraw18[i], -1);
	TextDrawSetOutline(Textdraw18[i], 1);
	TextDrawSetProportional(Textdraw18[i], 1);
Agradeзo a quem poder ajudar!
Reply


Messages In This Thread
Como coloco isso pra funcionar? *.* - by Fodastiico - 13.12.2015, 12:38
Re: Como coloco isso pra funcionar? *.* - by arakuta - 13.12.2015, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)