Pomoc oko Online igraca

Započeo Nixi_Corleone
16. Jul 2015. Zaključano
436
pregleda
12
postova
Nixi_Corleone
2
Rookie
16. Jul 2015.
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
antonioas
3
Hustler
16. Jul 2015.
Provjeri si po modu SetPlayerColor
domo101
4
Enforcer
16. Jul 2015.
Ne razumijem u cemu oces reci da je problem? To sto postane ime bijelo kad se klikne na njega ili sto su imena crna? Jer ako je ovo prvo...svako ime postane bijelo kad se klikne na njega, to je u igrici tako...
berojug2
5
Underboss
16. Jul 2015.
Da nije igrac mozda jail/mute ili pak gs/a na duty ?
Nixi_Corleone
2
Rookie
16. Jul 2015.
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);
}
antonioas
3
Hustler
16. Jul 2015.
to stavlja na bijelu boju,provjeri dal postoji u modu jos koja SetPlayerColor
Nixi_Corleone
2
Rookie
16. Jul 2015.
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;
}
berojug2
5
Underboss
16. Jul 2015.
pa eto to ti je razlog zasto su crni.
SetPlayerColor(playerid, 0x000000000); //xFF0000FF
Nixi_Corleone
2
Rookie
16. Jul 2015.
Quote from July 16, 2015, 1:08 pm:
pa eto to ti je razlog zasto su crni.
SetPlayerColor(playerid, 0x000000000); //xFF0000FF

koji je kod za zelenu?
antonioas
3
Hustler
16. Jul 2015.
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
Nixi_Corleone
2
Rookie
16. Jul 2015.
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

Super resio sam hvala svima na pomoci....
Vuzimir
5
Kingpin
16. Jul 2015.


Lock, problem se msatra rijesenim.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha