Problem(error/warning): Zasto mi ni odjedne filterscripts ne radi komanda ispise mi - Upisali ste pogresnu komandu (error) ubacim plugin compailujme sve okej ali komanda ne radi
Deo skripte: [pawn]Vaš odgovor[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]Vaš odgovor[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): https://prnt.sc/QcOoU2_tXWLN - https://prnt.sc/PYny7t6BgAr5
Omašio si sekciju
Citat: Ivo Dev poslato April 04, 2023, 09:30:24 PRE PODNE
Omašio si sekciju
Nije promasio sekciju...
#tema
Posalji deo code koji ti ispisuje tu poruku i filterscript da bi smo mogli videti sta je konflikt...
Jel ti rade komande od gm? ?
Citat: User Banned poslato April 04, 2023, 09:35:17 PRE PODNE
Jel ti rade komande od gm? ?
da komande iz GM rade
evo primjer:
ubacim sistem gladi - (ovaj) https://balkan-samp.com/forum/index.php?topic=87577.0 ne radi kad kucam /jedi imaju textdrawovi oduzimaju se crtice (radi fs) ali komanda /jedi ne radi
Mod koji koristim: https://www.mediafire.com/file/ytc69ni30ir7n5d/New+World+LK.rar
testiro sam isto to na modu ovom - https://balkan-samp.com/forum/index.php?topic=143473.0 i fs i komanda rade
Citat: akeS poslato April 04, 2023, 13:31:03 POSLE PODNE
da komande iz GM rade
evo primjer:
ubacim sistem gladi - (ovaj) https://balkan-samp.com/forum/index.php?topic=87577.0 ne radi kad kucam /jedi imaju textdrawovi oduzimaju se crtice (radi fs) ali komanda /jedi ne radi
Mod koji koristim: https://www.mediafire.com/file/ytc69ni30ir7n5d/New+World+LK.rar
testiro sam isto to na modu ovom - https://balkan-samp.com/forum/index.php?topic=143473.0 i fs i komanda rade
Nemamo nameru da skidamo, posalji sta je trazeno...
Takodje ne mozes samo ubaciti neku FS u gamemode i ocekivati da radi tek tako...
Citat: realnaith poslato April 04, 2023, 13:45:05 POSLE PODNE
Nemamo nameru da skidamo, posalji sta je trazeno...
Takodje ne mozes samo ubaciti neku FS u gamemode i ocekivati da radi tek tako...
evo FS
https://www.sendspace.com/file/ao71fu
evo code komadi:
CMD:dchat(playerid, params[])
{
new tmp[512], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if (Spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Server: You must be spawned to use this command!");
if (DiscordStats[playerid]==0) return SendClientMessage(playerid, COLOR_WHITE, "Server: Turn on Discord Chat using /dchaton.");
if (sscanf(params, "s[512]", tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /dchat [message]");
SendDC(CHANNEL_ID, "[chat]%s: %s ", name, tmp);
return 1;
}
CMD:dchaton(playerid, params[])
{
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
if (Spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Server: You must be spawned to use this command!");
if (DiscordStats[playerid]==1) return SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat is already switched on!");
DiscordStats[playerid]=1;
SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat turned on.");
return 1;
}
CMD:dchatoff(playerid, params[])
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if (Spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Server: You must be spawned to use this command!");
if (DiscordStats[playerid]==0) return SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat is already switched off!");
DiscordStats[playerid]=0;
SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat turned off.");
return 1;
}
Citat: akeS poslato April 04, 2023, 13:54:43 POSLE PODNE
evo FS
https://www.sendspace.com/file/ao71fu
evo code komadi:
CMD:dchat(playerid, params[])
{
new tmp[512], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if (Spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Server: You must be spawned to use this command!");
if (DiscordStats[playerid]==0) return SendClientMessage(playerid, COLOR_WHITE, "Server: Turn on Discord Chat using /dchaton.");
if (sscanf(params, "s[512]", tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /dchat [message]");
SendDC(CHANNEL_ID, "[chat]%s: %s ", name, tmp);
return 1;
}
CMD:dchaton(playerid, params[])
{
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
if (Spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Server: You must be spawned to use this command!");
if (DiscordStats[playerid]==1) return SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat is already switched on!");
DiscordStats[playerid]=1;
SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat turned on.");
return 1;
}
CMD:dchatoff(playerid, params[])
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if (Spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "Server: You must be spawned to use this command!");
if (DiscordStats[playerid]==0) return SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat is already switched off!");
DiscordStats[playerid]=0;
SendClientMessage(playerid, COLOR_WHITE, "Server: Discord Chat turned off.");
return 1;
}
Posalji sve u pastebin...
Takodje pregledaj sta sam ti napisao gore i posalji...
Bolje da implementiras tu fs u mod i povezes
public OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
if(result == -1) { SendClientMessage(playerid,0xFF6347FF,"* Upisali ste pogresnu komandu. Kucajte /komande za listu dostupnih komandi."); return 0; }
commanddelay[playerid] = gettime();
new string[128]; format(string,sizeof(string),"%s /%s %s",PlayerName[playerid],cmd,params); LogSave( "Logovi/LogKomandi.log", string );
return 1;
}
FS: https://pastebin.com/E6YNkxMi
Citat: akeS poslato April 04, 2023, 14:23:05 POSLE PODNE
public OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
if(result == -1) { SendClientMessage(playerid,0xFF6347FF,"* Upisali ste pogresnu komandu. Kucajte /komande za listu dostupnih komandi."); return 0; }
commanddelay[playerid] = gettime();
new string[128]; format(string,sizeof(string),"%s /%s %s",PlayerName[playerid],cmd,params); LogSave( "Logovi/LogKomandi.log", string );
return 1;
}
FS: https://pastebin.com/E6YNkxMi
Sada kada pogledas taj code, sta ti je logicno ?
ja da znam brt ne bi kacio ovde i pito za pomoc
Citat: akeS poslato April 04, 2023, 15:19:32 POSLE PODNE
ja da znam brt ne bi kacio ovde i pito za pomoc
objasni glupom naithu :D
RESIO SAM - HVALA / LOCK
Citat: akeS poslato April 04, 2023, 15:19:32 POSLE PODNE
ja da znam brt ne bi kacio ovde i pito za pomoc
Onda odes i naucis osnove, jer ako ne kontas prostu logicku stvar, nemas sta da trazis pomoc...
Citat: Mrvica poslato April 04, 2023, 15:26:19 POSLE PODNE
objasni glupom naithu :D
Nemere svako biti pametan :)
Zamisli nisi sposoban ni da zakljucas temu, pa sta drugo da se ocekuje :D
Citat: realnaith poslato April 04, 2023, 15:54:38 POSLE PODNE
Zamisli nisi sposoban ni da zakljucas temu, pa sta drugo da se ocekuje :D
nesalon se iznerviro
Citat: Mrvica poslato April 04, 2023, 15:56:57 POSLE PODNE
nesalon se iznerviro
Napises lock, tema se sama zakljuca :D
Neaktivno, lock!