Pomoc

Započeo Manuel23, Maj 26, 2020, 22:19:28 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): vaš odgovoru pawnu je sve u redu ali mi ne ucitava mod i pise unkown
Dio skripte: [ pawn ]vaš odgovor[ /pawn ]//====================================================================
#include <a_samp>
#include YSI\y_ini
#include YSI\y_master
#include YSI\y_commands
#include YSI\y_amx
#include YSI\y_hooks
#include YSI\y_cell
//==================================================================
#define SCM SendClientMessage
#define SCMTA SendClientMessageToAll
#define SPD ShowPlayerDialog
#define DSM Dialog_Style_MSGBOX

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
   print("\n--------------------------------------");
   print(" Blank Filterscript by your name here");
   print("--------------------------------------\n");
   return 1;
}
main ()
print("Ucitavanje moda....);
public OnFilterScriptExit()
{
   return 1;
}
main () {}
#else

main()
{
   print("\n----------------------------------");
   print(" Blank Gamemode by your name here");
   print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
   SetGameModeText("Blank Script");
   AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   return 1;
}
public OnGameModeExit()
{
   return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
   SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
   SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
   SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
   return 1;
}

public OnPlayerConnect(playerid)
{
   SendClientMessage(playerid, -1, "Dobrodosli na server zabavite se!");
   return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
   return 1;
}

public OnPlayerSpawn(playerid)
{
   return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
   return 1;
}

public OnVehicleSpawn(vehicleid)
{
   return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
   return 1;
}

public OnPlayerText(playerid, text[])
{
   return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
   if (strcmp("/mycommand", cmdtext, true, 10) == 0)
   {
      // Do something here
      return 1;
   }
   return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
   return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
   return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
   return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
   return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
   return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
   return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
   return 1;
}

public OnRconCommand(cmd[])
{
   return 1;
}

public OnPlayerRequestSpawn(playerid)
{
   return 1;
}

public OnObjectMoved(objectid)
{
   return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
   return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
   return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
   return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
   return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
   return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
   return 1;
}

public OnPlayerExitedMenu(playerid)
{
   return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
   return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
   return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
   return 1;
}

public OnPlayerUpdate(playerid)
{
   return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
   return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
   return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
   return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
   return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
   return 1;
}
stock OcistiChatIgracu(playerid)
{
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   SCM(playerid, -1, "  ");
   return 1;
}
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike



----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[17:57:47] filterscripts = ""  (string)
[17:57:47]
[17:57:47] Server Plugins
[17:57:47] --------------
[17:57:47]  Loading plugin: Whirlpool.dll
[17:57:47] 
[17:57:47]  ==================
[17:57:47] 
[17:57:47]   Whirlpool loaded
[17:57:47] 
[17:57:47]  ==================
[17:57:47] 
[17:57:47]   Loaded.
[17:57:47]  Loading plugin: streamer.dll
[17:57:47]

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[17:57:47]   Loaded.
[17:57:47]  Loading plugin: crashdetect.dll
[17:57:47]   CrashDetect must be loaded before 'streamer.dll'
[17:57:47]   Failed.
[17:57:47]  Loading plugin: sscanf.dll
[17:57:47]

[17:57:47]  ===============================

[17:57:47]       sscanf plugin loaded.     

[17:57:47]          Version:  2.8.3       

[17:57:47]   (c) 2018 Alex "Y_Less" Cole 

[17:57:47]  ===============================

[17:57:47]   Loaded.
[17:57:47]  Loaded 3 plugins.

[17:57:47]
[17:57:47] Filterscripts
[17:57:47] ---------------
[17:57:47]   Loaded 0 filterscripts.

[17:57:48] 
[17:57:48] 
[17:57:48] 
[17:57:48]  =======================================
[17:57:48]  |                                     |
[17:57:48]  |        YSI version 3.09.0684        |
[17:57:48]  |        By Alex "Y_Less" Cole        |
[17:57:48]  |                                     |
[17:57:48]  =======================================
[17:57:48] 
[17:57:48] 
[17:57:48] 
[17:57:48] Number of vehicle models: 1

Citat: Manuel23 poslato Maj 26, 2020, 22:24:29 POSLE PODNE
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[17:57:47] filterscripts = ""  (string)
[17:57:47]
[17:57:47] Server Plugins
[17:57:47] --------------
[17:57:47]  Loading plugin: Whirlpool.dll
[17:57:47] 
[17:57:47]  ==================
[17:57:47] 
[17:57:47]   Whirlpool loaded
[17:57:47] 
[17:57:47]  ==================
[17:57:47] 
[17:57:47]   Loaded.
[17:57:47]  Loading plugin: streamer.dll
[17:57:47]

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[17:57:47]   Loaded.
[17:57:47]  Loading plugin: crashdetect.dll
[17:57:47]   CrashDetect must be loaded before 'streamer.dll'
[17:57:47]   Failed.
[17:57:47]  Loading plugin: sscanf.dll
[17:57:47]

[17:57:47]  ===============================

[17:57:47]       sscanf plugin loaded.     

[17:57:47]          Version:  2.8.3       

[17:57:47]   (c) 2018 Alex "Y_Less" Cole 

[17:57:47]  ===============================

[17:57:47]   Loaded.
[17:57:47]  Loaded 3 plugins.

[17:57:47]
[17:57:47] Filterscripts
[17:57:47] ---------------
[17:57:47]   Loaded 0 filterscripts.

[17:57:48] 
[17:57:48] 
[17:57:48] 
[17:57:48]  =======================================
[17:57:48]  |                                     |
[17:57:48]  |        YSI version 3.09.0684        |
[17:57:48]  |        By Alex "Y_Less" Cole        |
[17:57:48]  |                                     |
[17:57:48]  =======================================
[17:57:48] 
[17:57:48] 
[17:57:48] 
[17:57:48] Number of vehicle models: 1
Nisi lepo napravio server.cfg

U server.cfg treba da ti bude
gamemodes0 ImeTvogModa 1




#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
   print("\n--------------------------------------");
   print(" Blank Filterscript by your name here");
   print("--------------------------------------\n");
   return 1;
}
main ()
print("Ucitavanje moda....);
public OnFilterScriptExit()
{
   return 1;
}
main () {}
#else

ovo ti ne treba izbrisi!

To ti je za FileScripts

Citat: Miki Speed poslato Maj 26, 2020, 23:38:35 POSLE PODNE
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
   print("\n--------------------------------------");
   print(" Blank Filterscript by your name here");
   print("--------------------------------------\n");
   return 1;
}
main ()
print("Ucitavanje moda....);
public OnFilterScriptExit()
{
   return 1;
}
main () {}
#else

ovo ti ne treba izbrisi!
neka mu ostane, da ne dodaje Opet kasnije.  Aj posalji server.cfg ceo