Prebacivanje na Pawn_CMD

Započeo .Drakula., Septembar 04, 2018, 21:29:37 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Koristio sam y_commands, resio sam da predjem na Pawn_CMD, Sve sam lepo skinuo, ubacio gde treba i inkludovao ,pratio sam ovaj tutorijal http://balkan-samp.com/forum/index.php?topic=125051.0
Dio skripte: [pawn]
//Ovo sam zamenio
FUNCTION: OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(isnull(cmdtext))
   {
       return 0;
   }
   if(!success)
   {
      Error(playerid, "Upisali ste komandu koja ne postoji.");
      return 1;
   }
    return 1;
}
//U ovo
FUNCTION: OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)
{
   if(result == -1)
   {
      Error(playerid, "Upisali ste komandu koja ne postoji.");
      return 0;
   }
    return 1;
}




//Ovo sam zamenio
public OnPlayerCommandReceived(playerid, cmdtext[])

//U ovo
public OnPlayerCommandReceived(playerid, cmd[], params[], flags)


//Ovo sam izbrisao
public OnPlayerCommandText(playerid, cmdtext[])
{
   if(isnull(cmdtext))
   {
       return 0;
   }
   return 1;
}
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [21:06:38] [debug] Run time error 19: "File or function is not found"
[21:06:38] [debug]  PC_Init
[21:06:38] [debug] Run time error 19: "File or function is not found"
[21:06:38] [debug]  PC_Init

Slika/video ingame problema(obavezno ako je ingame problem): link slike
Poslednja Izmena: Septembar 04, 2018, 22:06:58 POSLE PODNE od Bašovski

Nije ti ucitalo plugin :]
- Mesecni boost pusten ! -
193.104.68.23:27017


Editovao sam text gore, posalji server_log (samo zadnji, znaci izbrisi ceo i posalji zadnji ako ne umes zadnje iskopirat -_-)
- Mesecni boost pusten ! -
193.104.68.23:27017



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

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

[21:45:18] filterscripts = ""  (string)
[21:45:18]
[21:45:18] Server Plugins
[21:45:18] --------------
[21:45:18]  Loading plugin: crashdetect
[21:45:18]   CrashDetect plugin 4.19.1
[21:45:18]   Loaded.
[21:45:18]  Loading plugin: streamer
[21:45:18]

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

[21:45:18]   Loaded.
[21:45:18]  Loading plugin: sscanf
[21:45:18]

[21:45:18]  ===============================

[21:45:18]       sscanf plugin loaded.     

[21:45:18]          Version:  2.8.2       

[21:45:18]    (c) 2012 Alex "Y_Less" Cole 

[21:45:18]  ===============================

[21:45:18]   Loaded.
[21:45:18]  Loading plugin: Pawn.CMD.dll
[21:45:18]   Failed.
[21:45:18]  Loaded 3 plugins.

[21:45:18]
[21:45:18] Filterscripts
[21:45:18] ---------------
[21:45:18]   Loaded 0 filterscripts.

[21:45:18] [debug] Run time error 19: "File or function is not found"
[21:45:18] [debug]  PC_Init
[21:45:18] [debug] Run time error 19: "File or function is not found"
[21:45:18] [debug]  PC_Init
[21:45:18] Script[gamemodes/BSD.amx]: Run time error 19: "File or function is not found"
[21:45:18] Number of vehicle models: 0


Makni .dll, valjda jebe jer ima dve tacke :P (ili preimenuj file u pawncmd.dll xD)
- Mesecni boost pusten ! -
193.104.68.23:27017

Hvala, mora u server.cfg da bude "PawnCMD" ,sada radi. :)