[POMOC] help

Započeo Blazey
21. Feb. 2014. Zaključano
742
pregleda
14
postova
adnan halilovic
4
Enforcer
21. Feb. 2014.
Skripta koju koristim: NL
Detaljan opis problema: Ma neko sranje nemam pjma
Dio skripte:
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14560) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14562) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14564) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14566) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14571) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14571 -- 14573) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14571 -- 14574) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(14571 -- 14574) : fatal error 107: too many error messages on one line
if(strcmp(cmd, "/granica", true) == 0)
    {
                if(IsPlayerConnected(playerid))
        {
                        if(IsPlayerInRangeOfPoint(playerid, 4, 10.5540,-1518.5917,3.5763))
                        {
                                if(granica11 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
                                MoveDynamicObject(granica1, 4.6, -1521, 3.2, 1.0, 0, 0, 80);
                                SetTimer("granicatimer", 5000, 0);
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                format(string, sizeof(string), "* %s placa prelaz preko granice.", sendername);
                                SafeGivePlayerMoney(playerid, -50);
                                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica11 = 1;
                                return 1;
                        }

                        else if(IsPlayerInRangeOfPoint(playerid, 4, 9.4716,-1527.8718,3.5328))
                        {
                                if(granica22 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
                                MoveDynamicObject(granica2, 15.69921875, -1525.69921875, 3.9000000953674, 1.0, 0, 333.99993896484, 79.991424560547);
                                SetTimer("granicatimer2", 5000, 0);
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                format(string, sizeof(string), "* %s placa prelaz preko granice.", sendername);
                                SafeGivePlayerMoney(playerid, -50);
                                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica22 = 1;
                                return 1;
                        }
                }
                return 1;
        }

Neke slike/video za lakse dobivanje pomoci(neobavezno):
adnan halilovic
4
Enforcer
22. Feb. 2014.
BUMPPPPPPPPPPPPPPPPPPPPPPPP!
James_SmithXDl
6
OG Legend
22. Feb. 2014.
pa daj linije necu trazit po cijeloj cmd-
adnan halilovic
4
Enforcer
22. Feb. 2014.
Quote from February 22, 2014, 10:44 am:
pa daj linije necu trazit po cijeloj cmd-

Izvinjavam se evo 😄
if(strcmp(cmd, "/granica", true) == 0)
14560
  if(IsPlayerConnected(playerid))
14562
 if(IsPlayerInRangeOfPoint(playerid, 4, 10.5540,-1518.5917,3.5763))
14564
if(granica11 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
14566
  SafeGivePlayerMoney(playerid, -50);
14571
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica11 = 1;
14571-14574
Blaeks_Biofor
5
Forum Don
22. Feb. 2014.
koristis skriptu koja je od nule radjena zcmdom i onda ubacis STRCMP i pitas se odakle errori..

tvoja skripta ne prepoznaje taj nacin komandi
adnan halilovic
4
Enforcer
22. Feb. 2014.
Blaeks wrote on February 22, 2014, 11:00 am:
koristis skriptu koja je od nule radjena zcmdom i onda ubacis STRCMP i pitas se odakle errori..

tvoja skripta ne prepoznaje taj nacin komandi

Kako cu to postaviti u CMD ? ako nije problem? i ja sam to skontao,ali sam pocetnik nezz :S
Blaeks_Biofor
5
Forum Don
22. Feb. 2014.
CMD:granica(playeridm params[])
    {
                if(IsPlayerConnected(playerid))
        {
                        if(IsPlayerInRangeOfPoint(playerid, 4, 10.5540,-1518.5917,3.5763))
                        {
                                if(granica11 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
                                MoveDynamicObject(granica1, 4.6, -1521, 3.2, 1.0, 0, 0, 80);
                                SetTimer("granicatimer", 5000, 0);
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                format(string, sizeof(string), "* %s placa prelaz preko granice.", sendername);
                                SafeGivePlayerMoney(playerid, -50);
                                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica11 = 1;
                                return 1;
                        }

                        else if(IsPlayerInRangeOfPoint(playerid, 4, 9.4716,-1527.8718,3.5328))
                        {
                                if(granica22 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
                                MoveDynamicObject(granica2, 15.69921875, -1525.69921875, 3.9000000953674, 1.0, 0, 333.99993896484, 79.991424560547);
                                SetTimer("granicatimer2", 5000, 0);
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                format(string, sizeof(string), "* %s placa prelaz preko granice.", sendername);
                                SafeGivePlayerMoney(playerid, -50);
                                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica22 = 1;
                                return 1;
                        }
                }
                return 1;
        }
adnan halilovic
4
Enforcer
22. Feb. 2014.
Blaeks wrote on February 22, 2014, 11:02 am:
CMD:granica(playeridm params[])
    {
                if(IsPlayerConnected(playerid))
        {
                        if(IsPlayerInRangeOfPoint(playerid, 4, 10.5540,-1518.5917,3.5763))
                        {
                                if(granica11 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
                                MoveDynamicObject(granica1, 4.6, -1521, 3.2, 1.0, 0, 0, 80);
                                SetTimer("granicatimer", 5000, 0);
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                format(string, sizeof(string), "* %s placa prelaz preko granice.", sendername);
                                SafeGivePlayerMoney(playerid, -50);
                                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica11 = 1;
                                return 1;
                        }

                        else if(IsPlayerInRangeOfPoint(playerid, 4, 9.4716,-1527.8718,3.5328))
                        {
                                if(granica22 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Granica je vec otvorena."); return 1; }
                                MoveDynamicObject(granica2, 15.69921875, -1525.69921875, 3.9000000953674, 1.0, 0, 333.99993896484, 79.991424560547);
                                SetTimer("granicatimer2", 5000, 0);
                                GetPlayerName(playerid, sendername, sizeof(sendername));
                                format(string, sizeof(string), "* %s placa prelaz preko granice.", sendername);
                                SafeGivePlayerMoney(playerid, -50);
                                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                                granica22 = 1;
                                return 1;
                        }
                }
                return 1;
        }
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82502) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82502) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82504) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82506) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82508) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82509) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82514) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82514 -- 82515) : error 021: symbol already defined: "ProxDetector"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82514 -- 82517) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82514 -- 82517) : fatal error 107: too many error messages on one line

Eto još više erora ..
Blaeks_Biofor
5
Forum Don
22. Feb. 2014.
prvo, kada si iskopirao komandu nisi uopste ni iskopirao sve varijable potrebne za njeno pokretanje, prvo to uradi pa onda javi da li ima errora
adnan halilovic
4
Enforcer
22. Feb. 2014.
Kopirao sam bolan sve opet isto
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(47034) : warning 204: symbol is assigned a value that is never used: "pass"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82502) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82502) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82504) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82506) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82508) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82513) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82513 -- 82514) : error 021: symbol already defined: "ProxDetector"
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82513 -- 82516) : error 010: invalid function or declaration
C:\Users\Ado\Desktop\NL by ALAN ( ERMIN NUHANOVIC)\gamemodes\NLRPGv3.pwn(82513 -- 82516) : fatal error 107: too many error messages on one line
Blaeks_Biofor
5
Forum Don
22. Feb. 2014.
komandu si nadam se stavio na kraj skripte ?
adnan halilovic
4
Enforcer
22. Feb. 2014.
Blaeks wrote on February 22, 2014, 11:47 am:
komandu si nadam se stavio na kraj skripte ?

Ma jesam gdje je trebam staviti cc?
Blaeks_Biofor
5
Forum Don
22. Feb. 2014.
daj onda tacne linije errora
Vedadd
5
Underboss
22. Feb. 2014.
CMD:granica(playerid, params[])
{
new hIme;
RPIme(playerid, hIme);
if(PI < 55) return SCM(playerid, GRAD2, "{56A5D6}|INFO| {C0C0C0} Nemate dovoljno Novca da Platite Prolaz na Granici (55$)");
if(IsPlayerInRangeOfPoint(playerid, 10.0, 1723.9000200,519.2000100,27.1000000)) // STAVI TI KOORDINATE KOD GRANICE
    {
    MoveDynamicObject(granica1,  SVOJU STAVIS KOORDINATU  , 3.0);
        SCM(playerid, BELA, "| {2685EB}Granica (LV) {FFFFFF}| Kapija ce se zatvoriti za {2685EB}5 {FFFFFF}sekundi.");
        NovacMinus(playerid, 55);
        SetTimerEx("GranicaTimer", 7000, false, "d", playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 10.0, 1732.0000000,516.2000100,27.1000000)) // I OVDE STAVI
    {
    MoveDynamicObject(granica2,  ovde stavis SVOJE  , 3.0); //
        SCM(playerid, BELA, "| {2685EB}Granica{FFFFFF}| Kapija ce se zatvoriti za {2685EB}5 {FFFFFF}sekundi.");
        NovacMinus(playerid, 55);
        SetTimerEx("GranicaTimer2", 7000, false, "d", playerid);
  }
    else return SCM(playerid, GRAD2, "{56A5D6}|INFO| {C0C0C0} Niste blizu Granice!");
return 1;
}


I nemoj ti editirat NL mod uzmi si neki obični.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha