[Pomoc] Biznis

Započeo Nincevic
30. Sep. 2013. Zaključano
274
pregleda
5
postova
Nincevic
3
Wheel Man
30. Sep. 2013.
Skripta koju koristim: BU:RP
Detaljan opis problema: evo ovako ja npr otkljucam biz (/open) i napravim restart servera i biz opet bude zakljucan kako to da rjesim??
Dio skripte:ako treba stavicu
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Nincevic
3
Wheel Man
30. Sep. 2013.
E nekuzim se bas puno u to, koji dio skripte da postavim pa mi samo napisi sta trebam dodat pod ongamemodeinit
Nincevic
3
Wheel Man
30. Sep. 2013.
evo jel to to

COMMAND:open(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
        for(new i = 0; i < sizeof(HouseInfo); i++)
{
if(PlayerToPoint(3, playerid,HouseInfo, HouseInfo, HouseInfo) || PlayerToPoint(3, playerid,HouseInfo, HouseInfo, HouseInfo))
{
if(PlayerInfo == i)
{
if(HouseInfo == 1)
{
HouseInfo = 0;
GameTextForPlayer(playerid, "~w~Vrata ~g~otkljucana", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
if(HouseInfo == 0)
{
HouseInfo = 1;
GameTextForPlayer(playerid, "~w~Vrata ~r~zakljucana", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
}
else
{
GameTextForPlayer(playerid, "~r~Nemate kljuceve", 5000, 6);
return 1;
}
}
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if(PlayerToPoint(3, playerid,BizzInfo, BizzInfo, BizzInfo) || PlayerToPoint(3, playerid,BizzInfo, BizzInfo, BizzInfo))
{
if(PlayerInfo == i)
{
if(BizzInfo == 1)
{
BizzInfo = 0;
GameTextForPlayer(playerid, "~w~Biznis ~g~otvoren", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
if(BizzInfo == 0)
{
BizzInfo = 1;
GameTextForPlayer(playerid, "~w~Biznis ~r~zatvoren", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
}
else
{
GameTextForPlayer(playerid, "~r~Nemate kljuceve", 5000, 6);
return 1;
}
}
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
if(PlayerToPoint(3, playerid,SBizzInfo, SBizzInfo, SBizzInfo))
{
if(PlayerInfo == i+100)
{
if(SBizzInfo == 1)
{
SBizzInfo = 0;
GameTextForPlayer(playerid, "~w~Biznis ~g~otvoren", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
if(SBizzInfo == 0)
{
SBizzInfo = 1;
GameTextForPlayer(playerid, "~w~Biznis ~r~zatvoren", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
}
else
{
GameTextForPlayer(playerid, "~r~Nemate kljuceve", 5000, 6);
return 1;
}
}
}
    }
    return 1;
}
Nincevic
3
Wheel Man
30. Sep. 2013.
evo ga

if(MapIconsShown != 1)
{
    MapIconsShown = 1;
    for(new i = 0; i < sizeof(BizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 1,BizzInfo,BizzInfo,BizzInfo,36,COLOR_LIGHTRED);
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
    SetPlayerMapIcon(playerid,i + 20,SBizzInfo,SBizzInfo,SBizzInfo,36,COLOR_LIGHTRED);
}
}
return 1;
}
Nincevic
3
Wheel Man
1. Okt. 2013.
izbacuje mi 1 eror

C:\Users\Marin\Desktop\Balkan Union SP\gamemodes\BESP.pwn(28532) : error 017: undefined symbol "SacuvajBiznis"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha