PARTNERI:
-UPOZORENJE-

Samo registrovani članovi mogu da vide/koriste forum u celini.
Prijavite se ili registrujte nalog na Balkan SA-MP forumu.


Autor Tema: [POMOC]Aduty  (Pročitano 381 puta)

0 članova i 1 gost pregledaju ovu temu.

Van mreže #burazengija

  • Newbie
  • *
  • Poruke: 11
[POMOC]Aduty
« poslato: Mart 01, 2017, 14:11:24 posle podne »
Skripta koju koristim:Luda Kuca/Fixed
Detaljan opis problema:Sve sam fixo uso an server kucni i da compile skriptu i to slucajno f5 klikno i izbaci mi errore ove
Pawno Code: [Izaberi]
C:\Users\Zlaja 2016\Desktop\Nova Kuca RolePlay v1.0 by Uros\gamemodes\eu-rp.pwn(25061) : error 017: undefined symbol "Admin"
C:\Users\Zlaja 2016\Desktop\Nova Kuca RolePlay v1.0 by Uros\gamemodes\eu-rp.pwn(25061) : error 017: undefined symbol "je"
C:\Users\Zlaja 2016\Desktop\Nova Kuca RolePlay v1.0 by Uros\gamemodes\eu-rp.pwn(25061) : error 017: undefined symbol "na"
C:\Users\Zlaja 2016\Desktop\Nova Kuca RolePlay v1.0 by Uros\gamemodes\eu-rp.pwn(25061) : 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.
Dio skripte:
Pawno Code: [Izaberi]
YCMD:aduty(playerid, params[], help)
{
    #pragma unused help
#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"[BF] | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo[playerid][pAdmin] == 0) return SCM(playerid, -1, ""CRVENA"[BF] "BELA"Samo Admini!");
if(PlayerInfo[playerid][pTrazeniLevel] != 0) return SCM(playerid, -1, ""SPLAVA"[[BF] "BELA"Imate trazeni level ne mozete koristiti ovu komandu");
new string[256];
if(AdminDuty[playerid] == 0)
{Admin %s je na duznosti !",GetName(playerid));
SendAdminMessage(-1,string);
    format(string,sizeof(string),""ZUTA"[BF] A
AdminDuty[playerid] = 1;
SetPlayerColor(playerid, COLOR_PURPLE);
SetPVarInt(playerid, "Izbegavanje", 1);
SetPlayerArmour(playerid, 99.0);
SetPlayerHealth(playerid, 99.0);
SetPlayerSkin(playerid, 294);
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):
 

Van mreže anderson87

Odg: [POMOC]Aduty
« Odgovor #1 poslato: Mart 01, 2017, 14:26:12 posle podne »
Daj fino kod
• G A M E M O D E •
• F I L T E R S C R I P T •
• T U T O R I A L •

Citat
You are what you believe yoursefl to be.
 

Van mreže andr00-

Odg: [POMOC]Aduty
« Odgovor #2 poslato: Mart 01, 2017, 14:31:38 posle podne »
Tu komandu samo zamjeni sa ovim.
Pawno Code: [Izaberi]
YCMD:aduty(playerid, params[], help)
{
    #pragma unused help
#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"[BF] | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo[playerid][pAdmin] == 0) return SCM(playerid, -1, ""CRVENA"[BF] "BELA"Samo Admini!");
if(PlayerInfo[playerid][pTrazeniLevel] != 0) return SCM(playerid, -1, ""SPLAVA"[[BF] "BELA"Imate trazeni level ne mozete koristiti ovu komandu");
new string[256];
if(AdminDuty[playerid] == 0)
{
    format(string,sizeof(string),""ZUTA"[BF] Admin %s je na duznosti !",GetName(playerid));
SendAdminMessage(-1,string);
AdminDuty[playerid] = 1;
SetPlayerColor(playerid, COLOR_PURPLE);
SetPVarInt(playerid, "Izbegavanje", 1);
SetPlayerArmour(playerid, 99.0);
SetPlayerHealth(playerid, 99.0);
SetPlayerSkin(playerid, 293);
}
else if(AdminDuty[playerid] == 1)
{
SetPlayerArmour(playerid, 99.0);
SetPlayerHealth(playerid, 99.0);
format(string,sizeof(string),""ZUTA"[BF] Admin %s vise nije na duznosti !",GetName(playerid));
SendAdminMessage(-1,string);
SetPVarInt(playerid, "Izbegavanje", 0);
SetPlayerColor(playerid, BELA2);
AdminDuty[playerid] = 0;
}
return 1;
}
 

Van mreže #burazengija

  • Newbie
  • *
  • Poruke: 11
Odg: [POMOC]Aduty
« Odgovor #3 poslato: Mart 01, 2017, 14:47:37 posle podne »
Fixed hvala ANDRI na pomoci,

Moze LOCK !