[POMOC]Lisice

Započeo Alezars
23. Mar. 2013. Zaključano
540
pregleda
6
postova
Alezars
4
Shot Caller
23. Mar. 2013.
Skripta koju koristim:south-europe
Detaljan opis problema:Zeleo bih da ubacim lisice, i kad stavim neko da se vide i kad skinem da nestanu
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
	if(strcmp(cmd, "/cuff", true) == 0 || strcmp(cmd, "/stavilisice", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(gTeam == 2 || IsACop(playerid))
{
if(KnockedDown == 1)
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete zamahnuti kada ste vec oboreni.");
return 1;
}
if(PlayerTied == 1)
{
SendClientMessage(playerid, COLOR_GREY, " Vezani ste!");
return 1;
}
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "Koriscenje: /stavilisice [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
    if(IsPlayerConnected(giveplayerid))
{
    if(giveplayerid != INVALID_PLAYER_ID)
    {
        if(gTeam == 2 || IsACop(giveplayerid))
        {
            SendClientMessage(playerid, COLOR_GREY, " Ne mozete staviti lisice Policajcu!");
        return 1;
        }
    if(PlayerCuffed > 1)
    {
        SendClientMessage(playerid, COLOR_GREY, " Igracu su vec stavljene lisice !");
        return 1;
    }
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, " Ne mozete staviti lisice sebi!"); return 1; }
    {
        GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s vam je stavio lisice.", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "* Stavili ste lisice %s-u.", giveplayer);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "* %s stavlja lisice %s-u.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GameTextForPlayer(giveplayerid, "~r~Stavljene su vam lisice", 2500, 3);
TogglePlayerControllable(giveplayerid, 0);
PlayerCuffed = 2;
PlayerCuffedTime = 99999999999999;
    }

}
else
{
    SendClientMessage(playerid, COLOR_GREY, " Taj igrac nije blizu vas !");
    return 1;
}
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, " Igrac je offline !");
    return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Niste Policajac | FBI !");
}
}
return 1;
}
if(strcmp(cmd, "/uncuff", true) == 0 || strcmp(cmd, "/skinilisice", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(gTeam == 2)
{
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "Koriscenje: /skinilisice [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
    if (ProxDetectorS(8.0, playerid, giveplayerid))
{
    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, " Ne mozete skinuti sebi lisice!"); return 1; }
if(PlayerCuffed)
{
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s vam je skinuo lisice.", sendername);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
format(string, sizeof(string), "* Skinuli ste lisice %s-u.", giveplayer);
SendClientMessage(playerid, COLOR_WHITE, string);
GameTextForPlayer(giveplayerid, "~g~Skinute su vam lisice", 2500, 3);
TogglePlayerControllable(giveplayerid, 1);
PlayerCuffed = 0;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, " Tome igracu nisu stavljene lisice !");
    return 1;
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, " Taj igrac nije blizu vas !");
    return 1;
}
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, " Taj igrac je offline !");
    return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Niste Policajac | FBI !");
}
}
return 1;
}
ladolez
5
Underboss
23. Mar. 2013.
ja radim gamemode od 0 i do tih animacija jos nisam stigao pa nisam ni naucio ali sam naucio da nikako nepravis tako komande nego sa ZCMD poste je brzi
Alezars
4
Shot Caller
23. Mar. 2013.
Izbaci mi ovaj error

C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(43263) : error 017: undefined symbol "SPECIAL_ACTION_CUFFED"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

1 Error.
Alezars
4
Shot Caller
23. Mar. 2013.
pa prebacen mi je ceo GM na 0.3x
Alezars
4
Shot Caller
23. Mar. 2013.
da prebacim sve sa window servera ili samo nesto?
Alezars
4
Shot Caller
23. Mar. 2013.
sad mi izbaci 26 errora
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(2629) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(2654) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(2683) : error 004: function "SafeJBC_ResetPlayerWeapons" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(2684) : error 004: function "SafeJBC_GivePlayerWeapon" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(2707) : error 004: function "SafeJBC_ResetPlayerWeapons" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3246) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3250) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3261) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3273) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3277) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3281) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3285) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3289) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3293) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3297) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3301) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3305) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3309) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3321) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3325) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3329) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3333) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3337) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3349) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3353) : error 004: function "PlayerToPoint" is not implemented
C:\Users\stefan\Desktop\Paun\gamemodes\south-europe.pwn(3357) : error 004: function "PlayerToPoint" is not implemented

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

26 Errors.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha