[Pomoc] Imam par pitanja :)

Započeo Novica
28. Feb. 2012. Zaključano
2,591
pregleda
32
postova
Novica
4
Made Man
28. Feb. 2012.
Skripta koju koristim:Moju
Detaljan opis problema😛a ovako interesuje me kako da stavim da pise iznad necije glave nesto npr iznad admina da pise admin 🙂😕
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
Nxidza
5
Crime Lord
28. Feb. 2012.
A koja je to tvoja skripta,definisi...od 0 ili?

Uglavnom uradis proveru kao kad' radis proveru npr za komandu /kick,evo ti jedan primer :
if(PlayerInfo >= 1)
{
  Adm = Create3DTextLabel("Admin",BOJA TVOJA,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Admin, playerid, 0.0, 0.0, 0.0);
  }


i skroz gore definises :

new Text3D:Adm; to je to,samo tamo gde pise BOJA TVOJA postavi boju koju zelis i ovo stavi pod onplayerconnect ili sta vec zelis ...
Aldin Begovic
4
Made Man
28. Feb. 2012.
Ako za jos nesto trebas napisi !
Nxidza
5
Crime Lord
28. Feb. 2012.
Aldin Begovic wrote on February 28, 2012, 8:24 pm:
evo ti za admina /duty
na vrh moda
new Text3D:label;

if (strcmp(cmd, "/duty", true) == 0)
    {
    if(PlayerInfo >= 1)
    {
  SetPlayerArmour(playerid, 100);
  label = Create3DTextLabel("Text po zelji ",COLOR_RED,30.0,40.0,50.0,40.0,0);
      SetPlayerHealth(playerid, 100);
  GetPlayerName(playerid, sendername, sizeof(sendername));
      format(string, sizeof(string), "", sendername);
      Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.9);
  SendAdminMessage(COLOR_RED,string);
}
    return 1;
}
if (strcmp(cmd, "/dutyoff", true)==0)
    {
    if(PlayerInfo >= 1)
    {
SetPlayerArmour(playerid, 0);
Delete3DTextLabel(label);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "Iskljucio si admin duznost!", playerid, sendername);
SendClientMessage(playerid, COLOR_YELLOW,string);
}
    return 1;
}

Je li,ti si de*il da se moram tako izraziti?Sta sam ja napisao?Ovo ti je druga tema u kojoj samo ponavljas sta sam napisao !  😠
Novica
4
Made Man
28. Feb. 2012.
oke brate moze sad pomoc ja da izmenim nesto kad ono izlazi 26 errora -.-
(1794) : error 004: function "SafeGivePlayerMoney" is not implemented
(1823) : error 004: function "SafeGivePlayerMoney" is not implemented
(1859) : error 004: function "SafeResetPlayerWeapons" is not implemented
(1860) : error 004: function "SafeGivePlayerWeapon" is not implemented
(1887) : error 004: function "SafeResetPlayerWeapons" is not implemented
(2478) : error 004: function "PlayerToPoint" is not implemented
(2489) : error 004: function "PlayerToPoint" is not implemented
(2501) : error 004: function "PlayerToPoint" is not implemented
(2505) : error 004: function "PlayerToPoint" is not implemented
(2517) : error 004: function "PlayerToPoint" is not implemented
(2521) : error 004: function "PlayerToPoint" is not implemented
(2525) : error 004: function "PlayerToPoint" is not implemented
(2529) : error 004: function "PlayerToPoint" is not implemented
(2533) : error 004: function "PlayerToPoint" is not implemented
(2537) : error 004: function "PlayerToPoint" is not implemented
(2541) : error 004: function "PlayerToPoint" is not implemented
(2545) : error 004: function "PlayerToPoint" is not implemented
(2557) : error 004: function "PlayerToPoint" is not implemented
(2561) : error 004: function "PlayerToPoint" is not implemented
(2565) : error 004: function "PlayerToPoint" is not implemented
(2569) : error 004: function "PlayerToPoint" is not implemented
(2573) : error 004: function "PlayerToPoint" is not implemented
(2585) : error 004: function "PlayerToPoint" is not implemented
(2589) : error 004: function "PlayerToPoint" is not implemented
(2593) : error 004: function "PlayerToPoint" is not implemented
(2605) : error 004: function "PlayerToPoint" is not implemented


Eo deo skripte tj tamo gde izbacuje errore
public IsAtFishPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
    if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
}
return 0;
}

public IsAtCookPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
    if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
    {//Cluckin Bell
        return 1;
    }
    else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))
{//Burgershot
    return 1;
}
else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))
{//Well Stacked Pizza
    return 1;
}
}
return 0;
}

public IsAtBar(playerid)
{
    if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797))
{//In reet bar (with girlfriend), and in Havanna
    return 1;
Aldin Begovic
4
Made Man
28. Feb. 2012.
fali ti negdje }
provjeri lijepo 😄
Aldin Begovic
4
Made Man
28. Feb. 2012.
Nxidza wrote on February 28, 2012, 8:24 pm:
evo ti za admina /duty
na vrh moda
new Text3D:label;

if (strcmp(cmd, "/duty", true) == 0)
    {
    if(PlayerInfo >= 1)
    {
  SetPlayerArmour(playerid, 100);
  label = Create3DTextLabel("Text po zelji ",COLOR_RED,30.0,40.0,50.0,40.0,0);
      SetPlayerHealth(playerid, 100);
  GetPlayerName(playerid, sendername, sizeof(sendername));
      format(string, sizeof(string), "", sendername);
      Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.9);
  SendAdminMessage(COLOR_RED,string);
}
    return 1;
}
if (strcmp(cmd, "/dutyoff", true)==0)
    {
    if(PlayerInfo >= 1)
    {
SetPlayerArmour(playerid, 0);
Delete3DTextLabel(label);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "Iskljucio si admin duznost!", playerid, sendername);
SendClientMessage(playerid, COLOR_YELLOW,string);
}
    return 1;
}

Je li,ti si de*il da se moram tako izraziti?Sta sam ja napisao?Ovo ti je druga tema u kojoj samo ponavljas sta sam napisao !  😠

Miss nemoj da se ljutis al sad cu da edit :S
Novica
4
Made Man
28. Feb. 2012.
xD Brate ja sam ovde postavio te errore posto nzm da ih resim xD

EDIT:I da brate kako da znam de treba da stavim ono za admin da pise iznad glave -.- 😕 msm u koji deo skripte to ide 🙂 ?
Aldin Begovic
4
Made Man
28. Feb. 2012.
evo tu bro ispod ovoga
public OnPlayerCommandText(playerid, cmdtext[])
Novica
4
Made Man
28. Feb. 2012.
Nxidza wrote on February 28, 2012, 8:23 pm:
A koja je to tvoja skripta,definisi...od 0 ili?

Uglavnom uradis proveru kao kad' radis proveru npr za komandu /kick,evo ti jedan primer :
if(PlayerInfo >= 1)
{
  Adm = Create3DTextLabel("Admin",BOJA TVOJA,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(Admin, playerid, 0.0, 0.0, 0.0);
  }


i skroz gore definises :

new Text3D:Adm; to je to,samo tamo gde pise BOJA TVOJA postavi boju koju zelis i ovo stavi pod onplayerconnect ili sta vec zelis ...

Znaci samo ovo ubacim i pisace iznad admina admin xD ako sam skontao 😄
Aldin Begovic
4
Made Man
28. Feb. 2012.
da kao sto rece doticni gospodin ! samo prati njegove upute
milan_95
4
Shot Caller
28. Feb. 2012.
Stavis ovako :
SendClientMessageIznadGlaveAkoJeCoekAdmin("Ja sam admin!");
Novica
4
Made Man
28. Feb. 2012.
Oke a npr ako zelim da nesto drugo pise iznad admina 🙂 ?
Aldin Begovic
4
Made Man
28. Feb. 2012.
Novica wrote on February 28, 2012, 8:39 pm:
Oke a npr ako zelim da nesto drugo pise iznad admina 🙂 ?

SendClientMessageIznadGlaveAkoJeCoekAdmin(" zeljeni text");
Novica
4
Made Man
28. Feb. 2012.
Oke tnx sad samo oko onih errora nmg da compile zbog errora moze pomoc kako da ih resim 🙂 ?

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha