[POMOC] eRRORI

Započeo Obrisan korisnik
4. Feb. 2011. Zaključano
1,055
pregleda
8
postova
Deleted User
Obrisan korisnik
4. Feb. 2011.
OVO SAM ODRADIO:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/carina1", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 0 || PlayerInfo == 0) // Samo za igrace te organizacije(organizacija broj 1)
{
if (PlayerToPoint(15, playerid,1618.9377441406, 128.63641357422, 36.35717391967😎)
{
        SetObjectPos(glavna7, 1618.9377441406, 128.63641357422, 36.35717391967😎;
SetDynamicObjectRot(glavna7, 0, 0, 34😎; //Kordinati OTVORENE kapije
        SetTimer("zatvori7", 7000,false);
        SafeGivePlayerMoney(playerid, - 10);
        SendClientMessage(playerid, COLOR_PURPLE,"Platili ste prolaz od 20 dolara.");
        SendClientMessage(playerid, COLOR_BLUE, "Rampa je otvorena, zatvorit ce se za 7 sekundi!");
        }
else
{
return SendClientMessage(playerid, COLOR_LIGHTRED, "Niste blizu carine.");
}
}

if (strcmp("/carina", cmdtext, true, 10) == 0)
{
if(PlayerInfo >= 0 || PlayerInfo == 0) // Samo za igrace te organizacije(organizacija broj 1)
{
if (PlayerToPoint(15, playerid,1615.1184082031, 129.544921875, 36.400566101074))
{
        SetObjectPos(glavna6, 1615.1184082031, 129.544921875, 36.400566101074);
SetDynamicObjectRot(glavna6, 0, 0, 166.99768066406); //Kordinati OTVORENE kapije
        SetTimer("zatvori6", 7000,false);
        SafeGivePlayerMoney(playerid, - 10);
      SendClientMessage(playerid, COLOR_PURPLE,"Platili ste prolaz od 20 dolara.");
        SendClientMessage(playerid, COLOR_BLUE, "Rampa je otvorena, zatvorit ce se za 7 sekundi!");
    }
else
{
return SendClientMessage(playerid, COLOR_LIGHTRED, "Niste blizu carine.");
}
}

I EVO ERRORA, NIKAKO DA SE RJESIM:

C:\Documents and Settings\Korisnik\Desktop\server\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2060) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2086) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2116) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2117) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2141) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2390) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2394) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2405) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2417) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2421) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2433) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2437) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2441) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2445) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2449) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2453) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2457) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2461) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2465) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2469) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2481) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2485) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2489) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2493) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2497) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\server\gamemodes\FactionGame.pwn(2509) : error 004: function "PlayerToPoint" is not implemented

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

26 Errors.

Ae pomoozite, ako neko zna
GGC
5
Godfather
5. Feb. 2011.
Nemas { ili }, tj. pogrijesio si u brojenju tih.
mafica .pwn
4
Made Man
5. Feb. 2011.
Broj otvorenih { i zatvorenih } zagrada mora biti jednak.Zaboravi osi negdje zatvorit zagradu kao sto je Luksa rekao.
DarkOne
4
Shot Caller
5. Feb. 2011.
Najbolje je da krenes ispocetka sve 😉
mafica .pwn
4
Made Man
5. Feb. 2011.
BestOne.exe wrote on February 5, 2011, 9:21 am:
Najbolje je da krenes ispocetka sve 😉

Koja glupost Boze dragi.Zasto da krece ispocetka kad treba samo prebrojat otvorene i zatvorene zagrede i problem ce biti rijesen ?
DarkOne
4
Shot Caller
5. Feb. 2011.
mafica .pwn wrote on February 5, 2011, 9:21 am:
Najbolje je da krenes ispocetka sve 😉

Koja ost Boze dragi.Zasto da krece ispocetka kad treba samo prebrojat otvorene i zatvorene zagrede i problem ce biti rijesen ?
Eto, ova komanda se doslovno napravi za 15-18min bez tuta i 2 min s tutom, treba samo promjenit koordinate i to je to... A brojanje... Toliko sam puta ja zaboravio zagrade i nisam ih nikad nasao
Marjan_King
5
Kingpin
5. Feb. 2011.
Izvoli... 🙂

if (strcmp("/carina1", cmdtext, true, 😎 == 0)
{
if(PlayerInfo >= 0 || PlayerInfo == 0)
{
if (PlayerToPoint(15, playerid,1618.9377441406, 128.63641357422, 36.35717391967😎) return SendClientMessage(playerid, COLOR_LIGHTRED, "Niste blizu carine.");
{
SetObjectPos(glavna7, 1618.9377441406, 128.63641357422, 36.35717391967😎;
SetDynamicObjectRot(glavna7, 0, 0, 34😎;
SetTimer("zatvori7", 7000,false);
SafeGivePlayerMoney(playerid, - 10);
SendClientMessage(playerid, COLOR_PURPLE,"Platili ste prolaz od 20 dolara.");
SendClientMessage(playerid, COLOR_BLUE, "Rampa je otvorena, zatvorit ce se za 7 sekundi!");
}
}
return 1;
}

if (strcmp("/carina", cmdtext, true, 7) == 0)
{
if(PlayerInfo >= 0 || PlayerInfo == 0)
{
if (PlayerToPoint(15, playerid,1615.1184082031, 129.544921875, 36.400566101074)) return SendClientMessage(playerid, COLOR_LIGHTRED, "Niste blizu carine.");
{
SetObjectPos(glavna6, 1615.1184082031, 129.544921875, 36.400566101074);
SetDynamicObjectRot(glavna6, 0, 0, 166.99768066406);
SetTimer("zatvori6", 7000,false);
SafeGivePlayerMoney(playerid, - 10);
SendClientMessage(playerid, COLOR_PURPLE,"Platili ste prolaz od 20 dolara.");
SendClientMessage(playerid, COLOR_BLUE, "Rampa je otvorena, zatvorit ce se za 7 sekundi!");
}
}
return 1;
}

PS: Obrati paznju na ovo

if (strcmp("/carina", cmdtext, true, 7) == 0) // Tu gde sam ja stavio 7 ti si tu stavio 10 , komanda nema 10 znakova ima 7 .. 😉
Alen_Mekic
4
Enforcer
5. Feb. 2011.
@ Snich_Wolf, pogriješio si mjesto postanja, a već su ti i pomogli.

Lock.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha