05.01.2013, 12:41
Hello
i put TextDrawSetString
in my /spectate command but its not showing..
From /spec cmd
And onplayerconnect
i put TextDrawSetString
in my /spectate command but its not showing..
Код:
format(string,sizeof(string),"~g~Name: ~w~%s ~g~Money: ~w~%d ",tName,GetPlayerMoney(id)); TextDrawSetString(Spec1[playerid],string); TextDrawShowForPlayer(playerid,Spec1[playerid]);
And onplayerconnect
Код:
Spec1[playerid] = TextDrawCreate(340.000000, 340.000000, ""); TextDrawBackgroundColor(Spec1[playerid], 255); TextDrawFont(Spec1[playerid], 3); TextDrawLetterSize(Spec1[playerid], 0.360000, 1.299998); TextDrawColor(Spec1[playerid], -1); TextDrawSetOutline(Spec1[playerid], 0); TextDrawSetProportional(Spec1[playerid], 1); TextDrawSetShadow(Spec1[playerid], 1);