Oko komande ycmd:bojatd za menjanje boje!


Započeo .начо, Oktobar 10, 2017, 02:39:03 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:UP/LK
Detaljan opis problema:Napravio sam YCMD:colortd kada menjam boju tj. Ne menja se kada izadjem sa srw menja se boja tdove svim igracima kako da napradim da menja jednom igracu i da se menja odma boja
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno): //

YCMD:colortd(playerid, params[],help)
{
    #pragma unused help
    #pragma unused params
    new colortd[128];
	if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""BELA"CRAYZ"SERVERBOJA"HOME ~ "SIVA"Moras se ulogovati da bi koristio ovu komandu!");
    if(sscanf(params, "s[24]", colortd)) return SCM(playerid,-1,""BELA"/colortd [ Opcija - orange ,ljubicasta ,zelena,crvena ]");
    if(strcmp(colortd, "orange", true) == 0)
    {
        SetPlayerColor(playerid, 0xDBB132FF);
        TextDrawColor(InfoTD1, 0xDBB132FF);
        TextDrawColor(InfoTD3, 0xDBB132FF);
        TextDrawColor(Logo1, 0xDBB132FF);
        TextDrawColor(Textdraw0, 0xDBB132FF);
        TextDrawColor(Textdraw3, 0xDBB132FF);
        TextDrawColor(Textdraw4, 0xDBB132FF);
        TextDrawColor(Textdraw5, 0xDBB132FF);
        TextDrawColor(Textdraw6, 0xDBB132FF);
        TextDrawColor(Textdraw13, 0xDBB132FF);
    }
    else if(strcmp(colortd, "ljubicasta", true) == 0)
    {
        SetPlayerColor(playerid, 0x952E99FF);
        TextDrawColor(InfoTD1, 0x952E99FF);
        TextDrawColor(InfoTD3, 0x952E99FF);
        TextDrawColor(Logo1, 0x952E99FF);
        TextDrawColor(Textdraw0, 0x952E99FF);
        TextDrawColor(Textdraw3, 0x952E99FF);
        TextDrawColor(Textdraw4, 0x952E99FF);
        TextDrawColor(Textdraw5, 0x952E99FF);
        TextDrawColor(Textdraw6, 0x952E99FF);
        TextDrawColor(Textdraw13, 0x952E99FF);
    }
    else if(strcmp(colortd, "zelena", true) == 0)
    {
        SetPlayerColor(playerid, 0x298C31FF);
        TextDrawColor(InfoTD1, 0x298C31FF);
        TextDrawColor(InfoTD3, 0x298C31FF);
        TextDrawColor(Logo1, 0x298C31FF);
        TextDrawColor(Textdraw0, 0x298C31FF);
        TextDrawColor(Textdraw3, 0x298C31FF);
        TextDrawColor(Textdraw4, 0x298C31FF);
        TextDrawColor(Textdraw5, 0x298C31FF);
        TextDrawColor(Textdraw6, 0x298C31FF);
        TextDrawColor(Textdraw13, 0x298C31FF);
    }
    else if(strcmp(colortd, "crvena", true) == 0)
    {
        SetPlayerColor(playerid, 0xD62B2BFF);
        TextDrawColor(InfoTD1, 0xD62B2BFF);
        TextDrawColor(InfoTD3, 0xD62B2BFF);
        TextDrawColor(Logo1, 0xD62B2BFF);
        TextDrawColor(Textdraw0, 0xD62B2BFF);
        TextDrawColor(Textdraw3, 0xD62B2BFF);
        TextDrawColor(Textdraw4, 0xD62B2BFF);
        TextDrawColor(Textdraw5, 0xD62B2BFF);
        TextDrawColor(Textdraw6, 0xD62B2BFF);
        TextDrawColor(Textdraw13, 0xD62B2BFF);
    }
    else return SCM(playerid, -1, ""BELA"CRAYZ"SERVERBOJA"HOME ~ "SIVA"Nepoznato ime boje!");
    return 1;
}
Scripter - Ventura Project
Ventura Project IP: 91.134.193.97:7790

Napravio sam YCMD:colortd kada menjam boju tj. Ne menja se kada izadjem sa srw menja se boja tdove svim igracima

koji racku si ti sad rekao allaha ti
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci

S ovim ti mijenjas svima boju, a ako zelis posebno svakom igracu morat ces koristit player textdrawowe
http://wiki.sa-mp.com/wiki/PlayerTextDrawColor