Skripta koju koristim :eXtreme
Problem😮vako u ovom modu ima komanda /napravi i tu mozes da pravis kuce stanove garaze itd,i sada kad napravim biznis sve radi moze uci izaci samo nemoze da /sellbiz pise SERVER:Unkown komand a kad je biznis samo u pawn ono u modu oce molim vas pogledajte
Dio skripte:if(strcmp(cmd, "/sellbiz", true) == 0)
{
    if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, playername, sizeof(playername));
if(PlayerInfo == 255)
{
SendClientMessage(playerid, COLOR_WHITE, " Ne posjedujete firmu.");
return 1;
}
if(PlayerInfo >= 100 && strcmp(playername, SBizzInfo[PlayerInfo-100], true) == 0)
{
new bouse = PlayerInfo-100;
SafeJBC_GivePlayerMoney(playerid,SBizzInfo);
SBizzInfo = 0;
SBizzInfo = 0;
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
format(string, sizeof(string), "~w~Cestitamo~n~ Prodali ste firmu za ~n~~g~$%d", SBizzInfo);
GameTextForPlayer(playerid, string, 10000, 3);
sbizsale = Create3DTextLabel(string1,0x8361FFFF,SBizzInfo, SBizzInfo, SBizzInfo+1,15,0,1);
PlayerInfo = 255;
                OnPropTextdrawUpdate();
                OnSBizzPickupUpdate(bouse);
OnPropUpdate();
OnPlayerUpdateCustom(playerid);
return 1;
}
if(strcmp(playername, BizzInfo[PlayerInfo], true) == 0)
{
new bouse = PlayerInfo;
BizzInfo = 0;
BizzInfo = 0;
GetPlayerName(playerid, sendername, sizeof(sendername));
SafeJBC_GivePlayerMoney(playerid,BizzInfo);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
format(string, sizeof(string), "~w~Cestitamo~n~ Prodali ste firmu za ~n~~g~$%d", BizzInfo);
GameTextForPlayer(playerid, string, 10000, 3);
bizsale = Create3DTextLabel(string1,0x8361FFFF,BizzInfo, BizzInfo, BizzInfo+1,15,0,1);
PlayerInfo = 255;
                OnPropTextdrawUpdate();
                OnBizzPickupUpdate(bouse);
OnPropUpdate();
OnPlayerUpdateCustom(playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Ne posjedujete firmu.");
}
}
return 1;
Video:/