Skripta koju koristim:BG:RP
Detaljan opis problema:znaci kako je prikazano na slici kad oznacim misom ondja pobjeli ime igraca a kad maknem onda je opet crno ....a nekad se cak i pojavi da je bijelo nesto se mjenja neznam zasto sta bi to moglo bit pomagajte.....
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://www.igreklik.com/slike/viewer.php?file=77896253113072120675.png&file_imgur=iJyvWaw.png
Zaključano
Pomoc oko Online igraca
410
pregleda
12
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 10 godina
pre 10 godina
Ma ne problem mi je sta svi igraci kad ulaze normalna bijela boja onda samo odjednom nestanu ...al tu su ..samo sta su im imena crna ....znaci ja bi htijo da budu normalna bijela
da nije mozda ovo
Stock BelaBojaIgraca(playerid)
{
SetPlayerColor(playerid,0xFFFFFF00);
}
da nije mozda ovo
Stock BelaBojaIgraca(playerid)
{
SetPlayerColor(playerid,0xFFFFFF00);
}
pre 10 godina
da ima ih puno al vecinom za kad budes admin ili supe ili kad imas wll.....
evo jos slika http://www.igreklik.com/slike/viewer.php?file=14249425535610176788.png&file_imgur=sOXqRxt.png
http://www.igreklik.com/slike/viewer.php?file=50710316615732819815.png&file_imgur=28Uz6Pd.png
http://www.igreklik.com/slike/viewer.php?file=11111080053276199636.png&file_imgur=AVbI4QR.png
/////////////////////////////////////////sve sa set player color////////////////////////////////////////
if(PlayerInfo > 0 || StavljeneLisice > 0 || Zavezan > 0 || IgracTazovan > 0)
{
PlayerInfo = 2;
PlayerInfo = PlayerInfo * 300;
PlayerInfo = 0;
SetPlayerPos(playerid, 107.2300,1920.6311,18.520😎;
SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453);
SetPlayerInterior(playerid,0);
VuceIgraca = -1;
SetPlayerColor(playerid, BELA2);
KillTimer(VuciTimer);
}
if(GetPlayerWantedLevel(playerid) > 0)
{
new string;
g_NovacMinus(playerid, GetPlayerWantedLevel(playerid)*3000);
SCMF(playerid, -1, ""ZUTA" "BELA"Izgubili ste %d$ zbog umiranja sa wanted level-om "ZUTA"%d!", GetPlayerWantedLevel(playerid)*3000, GetPlayerWantedLevel(playerid));
SetPlayerWantedLevel(playerid, 0); PlayerInfo = 0;
format(string,sizeof(string),""ZELENA"BG:RP"BELA" | Igrac %s je ubijen/se ubio sa wanted level-om!",GetName(playerid));
AdminSupporter(-1,string);
format(string,sizeof(string),""ZELENA"BG:RP"BELA" | Igrac %s je ubijen/se ubio sa wanted level-om!",GetName(playerid));
ChatPD(-1, string);
SetPlayerColor(playerid, BELA2);
}
if(IsPlayerConnected(killerid) && GetPlayerState(killerid) == PLAYER_STATE_DRIVER)
{
new string;
format(string,sizeof(string), ""PLAVA"[BG:RP Anti DB] "BELA"Igrac %s (ID:%d) je uradio Drive By nad igracem %s (ID:%d)!", GetName(killerid), killerid, GetName(playerid), playerid);
AdminSupporter(-1, string);
SetPlayerColor(killerid, COLOR_RED);
}
if(IsPlayerConnected(killerid) && PlayerInfo >= 1)
{
new string;
format(string,sizeof(string), ""PLAVA"[BG:RP AK] "BELA"Igrac %s (ID:%d) je ubio igraca %s (ID:%d)", GetName(killerid), killerid, GetName(playerid), playerid);
AdminSupporter(-1, string);
if(PlayerInfo >= 2 || PlayerInfo >= 2)
{
SetPlayerColor(killerid, COLOR_RED);
}
else if(PlayerInfo == 1 || PlayerInfo == 1)
{
SetPlayerColor(killerid, BELA2);
}
}
stock SpawnIgraca(playerid)
{
////////////////////////////////////////////////////////////////////////////
g_SetPlayerHealth(playerid, 99.0); /*vrataspawn = false; vrataspawn2 = false;*/
if(PlayerInfo == SPAWN_BAZA)
{
if(PlayerInfo == 1 || PlayerInfo == 1)
{
SetPlayerPos(playerid, 1477.2086,-1780.2563,3288.7859);
SetPlayerInterior(playerid, 0);
SetPlayerColor(playerid, 0x2641FEAA);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BG:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
CMD:aduty(playerid, params[])
{
if(UlogovanProvera == 0) return NisiLogiran(playerid);
if(PlayerInfo == 0) return NisiOvlasten(playerid);
new string;
if(AdminDuty == 0)
{
format(string,sizeof(string),""ZELENA"BG:RP - "ZELENA"(( "BELA"Administrator "ZELENA"%s "BELA"je na duznosti,za pomoc kucajte "ZELENA"/askq "ZELENA"))",GetName(playerid));
SCMTA(-1,string);
AdminDuty = 1;
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
SetPlayerArmour(playerid, 99.0);
g_SetPlayerHealth(playerid, 99.0);
SetPlayerSkin(playerid,294);
TextDrawShowForPlayer(playerid,ADuty);
}
CMD:spduty(playerid, params[])
{
if(UlogovanProvera == 0) return NisiLogiran(playerid);
if(PlayerInfo == 0) return NisiOvlasten(playerid);
new string;
if(GMDuty == 0)
{
format(string,sizeof(string),""ZUTA"BG:RP - "ZUTA"(( "BELA"Supporter "ZUTA"%s "BELA" je na duznosti,za pomoc kucajte /askq "ZUTA"))",GetName(playerid));
SCMTA(-1,string);
GMDuty = 1;
SetPlayerColor(playerid, 0xFFFF00AA); //0x00FF2EAA
SetPlayerArmour(playerid, 99.0);
g_SetPlayerHealth(playerid, 99.0);
}
else if(GMDuty == 1)
{
SetPlayerArmour(playerid, 0);
g_SetPlayerHealth(playerid, 99.0);
SetPlayerColor(playerid,BELA2);
format(string,sizeof(string),""ZUTA"BG:RP - "ZUTA"(( "BELA"Supporter "ZUTA"%s "BELA" je van duznosti "ZUTA"))",GetName(playerid));
SCMTA(-1,string);
GMDuty = 0;
}
return 1;
}
}
if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""ZELENA" "SIVA"Taj igrac je offline!");
if(id == playerid) return SCM(playerid, -1, ""ZELENA" "SIVA"Ne mozete sebi dati wanted level!");
if(IgracPolicajac(id)) return SCM(playerid,-1,""ZELENA"INFO | "SIVA"Ne mozes dati wanted level policajcu!");
if(GetPlayerWantedLevel(id) > 5) return SCM(playerid,-1,""ZELENA" "SIVA"Igrac moze imati max 6 wanted levela!");
PostaviWanted(id, zlocin, GetName(playerid));
SetPlayerColor(id, COLOR_RED);
return 1;
}
forward WLProvera();
public WLProvera()
{
foreach(Player, i)
{
if(PlayerInfo < 0)
{
PlayerInfo = 0;
SetPlayerColor(i, BELA2);
}
if(PlayerInfo > 0 || GetPlayerVirtualWorld(i) > 0 || GetPlayerInterior(i) > 0) return 1;
if(PlayerInfo > 0)
{
PlayerInfo--;
SCMF(i, -1, ""ZELENA"- Trenutni Wanted Level: "BELA"%d!", PlayerInfo);
}
SetPlayerWantedLevel(i, PlayerInfo);
}
return 1;
}
evo jos slika http://www.igreklik.com/slike/viewer.php?file=14249425535610176788.png&file_imgur=sOXqRxt.png
http://www.igreklik.com/slike/viewer.php?file=50710316615732819815.png&file_imgur=28Uz6Pd.png
http://www.igreklik.com/slike/viewer.php?file=11111080053276199636.png&file_imgur=AVbI4QR.png
/////////////////////////////////////////sve sa set player color////////////////////////////////////////
if(PlayerInfo > 0 || StavljeneLisice > 0 || Zavezan > 0 || IgracTazovan > 0)
{
PlayerInfo = 2;
PlayerInfo = PlayerInfo * 300;
PlayerInfo = 0;
SetPlayerPos(playerid, 107.2300,1920.6311,18.520😎;
SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453);
SetPlayerInterior(playerid,0);
VuceIgraca = -1;
SetPlayerColor(playerid, BELA2);
KillTimer(VuciTimer);
}
if(GetPlayerWantedLevel(playerid) > 0)
{
new string;
g_NovacMinus(playerid, GetPlayerWantedLevel(playerid)*3000);
SCMF(playerid, -1, ""ZUTA" "BELA"Izgubili ste %d$ zbog umiranja sa wanted level-om "ZUTA"%d!", GetPlayerWantedLevel(playerid)*3000, GetPlayerWantedLevel(playerid));
SetPlayerWantedLevel(playerid, 0); PlayerInfo = 0;
format(string,sizeof(string),""ZELENA"BG:RP"BELA" | Igrac %s je ubijen/se ubio sa wanted level-om!",GetName(playerid));
AdminSupporter(-1,string);
format(string,sizeof(string),""ZELENA"BG:RP"BELA" | Igrac %s je ubijen/se ubio sa wanted level-om!",GetName(playerid));
ChatPD(-1, string);
SetPlayerColor(playerid, BELA2);
}
if(IsPlayerConnected(killerid) && GetPlayerState(killerid) == PLAYER_STATE_DRIVER)
{
new string;
format(string,sizeof(string), ""PLAVA"[BG:RP Anti DB] "BELA"Igrac %s (ID:%d) je uradio Drive By nad igracem %s (ID:%d)!", GetName(killerid), killerid, GetName(playerid), playerid);
AdminSupporter(-1, string);
SetPlayerColor(killerid, COLOR_RED);
}
if(IsPlayerConnected(killerid) && PlayerInfo >= 1)
{
new string;
format(string,sizeof(string), ""PLAVA"[BG:RP AK] "BELA"Igrac %s (ID:%d) je ubio igraca %s (ID:%d)", GetName(killerid), killerid, GetName(playerid), playerid);
AdminSupporter(-1, string);
if(PlayerInfo >= 2 || PlayerInfo >= 2)
{
SetPlayerColor(killerid, COLOR_RED);
}
else if(PlayerInfo == 1 || PlayerInfo == 1)
{
SetPlayerColor(killerid, BELA2);
}
}
stock SpawnIgraca(playerid)
{
////////////////////////////////////////////////////////////////////////////
g_SetPlayerHealth(playerid, 99.0); /*vrataspawn = false; vrataspawn2 = false;*/
if(PlayerInfo == SPAWN_BAZA)
{
if(PlayerInfo == 1 || PlayerInfo == 1)
{
SetPlayerPos(playerid, 1477.2086,-1780.2563,3288.7859);
SetPlayerInterior(playerid, 0);
SetPlayerColor(playerid, 0x2641FEAA);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BG:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
CMD:aduty(playerid, params[])
{
if(UlogovanProvera == 0) return NisiLogiran(playerid);
if(PlayerInfo == 0) return NisiOvlasten(playerid);
new string;
if(AdminDuty == 0)
{
format(string,sizeof(string),""ZELENA"BG:RP - "ZELENA"(( "BELA"Administrator "ZELENA"%s "BELA"je na duznosti,za pomoc kucajte "ZELENA"/askq "ZELENA"))",GetName(playerid));
SCMTA(-1,string);
AdminDuty = 1;
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
SetPlayerArmour(playerid, 99.0);
g_SetPlayerHealth(playerid, 99.0);
SetPlayerSkin(playerid,294);
TextDrawShowForPlayer(playerid,ADuty);
}
CMD:spduty(playerid, params[])
{
if(UlogovanProvera == 0) return NisiLogiran(playerid);
if(PlayerInfo == 0) return NisiOvlasten(playerid);
new string;
if(GMDuty == 0)
{
format(string,sizeof(string),""ZUTA"BG:RP - "ZUTA"(( "BELA"Supporter "ZUTA"%s "BELA" je na duznosti,za pomoc kucajte /askq "ZUTA"))",GetName(playerid));
SCMTA(-1,string);
GMDuty = 1;
SetPlayerColor(playerid, 0xFFFF00AA); //0x00FF2EAA
SetPlayerArmour(playerid, 99.0);
g_SetPlayerHealth(playerid, 99.0);
}
else if(GMDuty == 1)
{
SetPlayerArmour(playerid, 0);
g_SetPlayerHealth(playerid, 99.0);
SetPlayerColor(playerid,BELA2);
format(string,sizeof(string),""ZUTA"BG:RP - "ZUTA"(( "BELA"Supporter "ZUTA"%s "BELA" je van duznosti "ZUTA"))",GetName(playerid));
SCMTA(-1,string);
GMDuty = 0;
}
return 1;
}
}
if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""ZELENA" "SIVA"Taj igrac je offline!");
if(id == playerid) return SCM(playerid, -1, ""ZELENA" "SIVA"Ne mozete sebi dati wanted level!");
if(IgracPolicajac(id)) return SCM(playerid,-1,""ZELENA"INFO | "SIVA"Ne mozes dati wanted level policajcu!");
if(GetPlayerWantedLevel(id) > 5) return SCM(playerid,-1,""ZELENA" "SIVA"Igrac moze imati max 6 wanted levela!");
PostaviWanted(id, zlocin, GetName(playerid));
SetPlayerColor(id, COLOR_RED);
return 1;
}
forward WLProvera();
public WLProvera()
{
foreach(Player, i)
{
if(PlayerInfo < 0)
{
PlayerInfo = 0;
SetPlayerColor(i, BELA2);
}
if(PlayerInfo > 0 || GetPlayerVirtualWorld(i) > 0 || GetPlayerInterior(i) > 0) return 1;
if(PlayerInfo > 0)
{
PlayerInfo--;
SCMF(i, -1, ""ZELENA"- Trenutni Wanted Level: "BELA"%d!", PlayerInfo);
}
SetPlayerWantedLevel(i, PlayerInfo);
}
return 1;
}
pre 10 godina
pa eto to ti je razlog zasto su crni.
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
pre 10 godina
Quote from July 16, 2015, 1:08 pm:
pa eto to ti je razlog zasto su crni.
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
koji je kod za zelenu?
pre 10 godina
0x33CC33FF
ugl imas ovdje te boje pa si izaberes i samo ispred tog koda sto dobijes tamo dodas 0x i na kraj koda FF
Edit: Ja konj nisam link stranice stavio hahah http://www.w3schools.com/tags/ref_colorpicker.asp
ugl imas ovdje te boje pa si izaberes i samo ispred tog koda sto dobijes tamo dodas 0x i na kraj koda FF
Edit: Ja konj nisam link stranice stavio hahah http://www.w3schools.com/tags/ref_colorpicker.asp
pre 10 godina
antonioas wrote on July 16, 2015, 1:43 pm:
0x33CC33FF
ugl imas ovdje te boje pa si izaberes i samo ispred tog koda sto dobijes tamo dodas 0x i na kraj koda FF
ugl imas ovdje te boje pa si izaberes i samo ispred tog koda sto dobijes tamo dodas 0x i na kraj koda FF
Super resio sam hvala svima na pomoci....
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava
