[Pomoc]Admin Duty

Započeo Petar Pan
•14. Avg. 2011.
1,254
pregleda
10
postova
Petar Pan
4
Made Man
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
14. Avg. 2011.
Skripta koju koristim:B-Ciy {{PG}}
Detaljan opis problema:Kada kucam /aon za Admin duznos iznad mene nista neizbacuje stavio sam da pise Admin na duznosti neometaj i to neprikazuje kako da to popravin

KOMANDA
	CMD:aon(playerid, params[])
{
if(PlayerInfo >= 1 && GetPVarInt(playerid, "ADuty") == 0)
{
    SetPVarInt(playerid, "ADuty", 1);
    new sMsg[ 128 ];
      GetPlayerName( playerid, sMsg, MAX_PLAYER_NAME );
//SetPlayerColor(playerid, 0xE30000FF);
D_SetPlayerHealth(playerid,200.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid, 0xE30000FF, "Sada si Admin On Duty !");
new Float:fa, Float:fy, Float:fu;
GetPlayerPos( playerid, fa, fy, fu );
playertextid = CreatePlayer3DTextLabel(playerid,"{FF0000}Admin na Duznosti!\n{FF6E6E}Ne ometaj!",0xE30000FF,fa,fy,fu,40.0, playerid);
//Attach3DTextLabelToPlayer(Text3D:playertextid, playerid, 0.0, 0.0, 0.0);

  //DutyLabel = CreatePlayer3DTextLabel(playerid,"Admin na Duznosti \n Ne ometaj!", 0xE30000FF, 0.0, 0.0, 0.0, 25.0, INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0);

}
return 1;
}


Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Mr.Lowrey
5
Godfather
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
14. Avg. 2011.
pa ti ne vidis ali drugi vide -.-
Petar Pan
4
Made Man
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
14. Avg. 2011.
System32 wrote on August 14, 2011, 8:38 pm:
pa ti ne vidis ali drugi vide -.-


Nevide ni drugi  ☹️ ☹️ Sad kad smo testali mod kucam /aon i nista  ☹️
Leros
2
Rookie
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
14. Avg. 2011.

new Text3D:duznost;
  duznost = Create3DTextLabel("Na duznosti! \n Ne Ometaj",COLOR_LIGHTRED,0,0,0,50,-1,1);
    Attach3DTextLabelToPlayer(duznost, playerid, 0,0,0);


          Delete3DTextLabel(duznost); // brisanje 3d labela..
almir101
4
Shot Caller
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
14. Avg. 2011.
mislim da ti je problem u ovome 3dtext label
ja sam sebi to ubacivao na mod radi neki obavjestenja i nije mi radilo
kad sam probao sa streamerom...radi
dakle probaj sa streamerom

CreateDynamic3DTextLabel

umjesto

Create3DTextLabel
Petar Pan
4
Made Man
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
25. Avg. 2011.
Leros wrote on August 14, 2011, 9:08 pm:

new Text3D:duznost;
    duznost = Create3DTextLabel("Na duznosti! \n Ne Ometaj",COLOR_LIGHTRED,0,0,0,50,-1,1);
    Attach3DTextLabelToPlayer(duznost, playerid, 0,0,0);


          Delete3DTextLabel(duznost); // brisanje 3d labela..


Gdje to da postavim?
Luis
5
Godfather
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
25. Avg. 2011.
Quote from August 14, 2011, 9:08 pm:

new Text3D:duznost;
    duznost = Create3DTextLabel("Na duznosti! \n Ne Ometaj",COLOR_LIGHTRED,0,0,0,50,-1,1);
    Attach3DTextLabelToPlayer(duznost, playerid, 0,0,0);


          Delete3DTextLabel(duznost); // brisanje 3d labela..


Gdje to da postavim?

PRvo pdo koamdnu /adminduty a drugo pod komandu kod odlaska sa duznosti da mu obrise.
Medis
4
Shot Caller
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
26. Avg. 2011.
cesto na nekim serverima vidim admin na dunosti bude plava boja imena....a GM na duznosti bude zelena boja mozda vam je tako na serveru
Petar Pan
4
Made Man
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
27. Avg. 2011.
Errori  😁 😁 😁

error 017: undefined symbol "duznost"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

4 Errors.
Luis
5
Godfather
Balkan SA:MPBalkan SA:MP
SA-MP DoprinosSA-MP Doprinos
27. Avg. 2011.
Quote from August 27, 2011, 8:52 am:
Errori  😁 😁 😁

error 017: undefined symbol "duznost"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

4 Errors.

pa jesi stavio na vrh skripte :
new Text3D:duznost; 

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha