14.11.2014, 06:59
Hola amigos de forum sa-mp
Pues mi problema es el siguiente:
En mi ladmin, cree un sistema de estadisticas, las cuales, son creadas por solo un textdraw, y el cual trae el color que quiero que lleven todos los textdraw que son creados por el string.
aqui les dejo el codigo del textdraw mas el string
Textdraw...
TextDrawSetString...
y yo quisiera que quedaran de Color naranja igual que el primero "Asesinatos:" y blancos el resultado
Aqui una foto de como son:

Gracias de antemano
Pues mi problema es el siguiente:
En mi ladmin, cree un sistema de estadisticas, las cuales, son creadas por solo un textdraw, y el cual trae el color que quiero que lleven todos los textdraw que son creados por el string.
aqui les dejo el codigo del textdraw mas el string
Textdraw...
Код:
esta[playerid] = TextDrawCreate(1.000000, 433.000000, " "); TextDrawBackgroundColor(esta[playerid], 255); TextDrawFont(esta[playerid], 3); TextDrawLetterSize(esta[playerid], 0.220000, 1.500000); TextDrawColor(esta[playerid], -5963521); TextDrawSetOutline(esta[playerid], 1); TextDrawSetProportional(esta[playerid], 1); TextDrawTextSize(esta[playerid], 643.000000, 0.000000);
Код:
format(stgil,sizeof(stgil),"Asesinatos: ~w~%d~r~~r~~y~ Muertes: ~w~%d~y~~h~ KDR: ~w~%0.2f~p~~h~~r~ Headshots: ~w~%i Rango: ~w~%s~g~~h~~r~ Clan: ~w~%s~r~ Cuenta: ~w~%s~r~ ID: ~w~%d",PlayerInfo[playerid][Kills],PlayerInfo[playerid][Deaths], Float:PlayerInfo[playerid][Kills]/Float:pDeaths, PlayerInfo[playerid][HeadShots], rango, PlayerInfo[playerid][NombreClan], AccType, playerid); TextDrawSetString(esta[playerid],stgil);
Aqui una foto de como son:

Gracias de antemano
