PAWN CMD
#1

Hello I started creating gamemode with pawn cmd.
Heres server log.
PHP код:

----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[21:48:59
[
21:48:59Server Plugins
[21:48:59] --------------
[
21:48:59]  Loading plugincrashdetect
[21:49:00]   crashdetect v4.9 is OK.
[
21:49:00]   Loaded.
[
21:49:00]  Loading pluginstreamer
[21:49:00
*** 
Streamer Plugin v2.7.5.2 by Incognito loaded ***
[
21:49:00]   Loaded.
[
21:49:00]  Loading pluginmysql
[21:49:00
  > 
MySQL plugin R5 successfully loaded.
[
21:49:00]   Loaded.
[
21:49:00]  Loading pluginsscanf
[21:49:00
[
21:49:00]  ===============================
[
21:49:00]       sscanf plugin loaded.     
[
21:49:00]          Version:  2.8.1        
[21:49:00]    (c2012 Alex "******" Cole  
[21:49:00]  ===============================
[
21:49:00]   Loaded.
[
21:49:00]  Loading pluginCVector
[21:49:00] -------------------------------------------------------
[
21:49:00] -                                                     -
[
21:49:00] -        Vectoral Pawn v1.0 Loaded                     -
[
21:49:00] -                by Skyline.                             -
[
21:49:00] -                                                     -
[
21:49:00] -------------------------------------------------------
[
21:49:00]   Loaded.
[
21:49:00]  Loaded 5 plugins.
[
21:49:00
[
21:49:00Filterscripts
[21:49:00] ---------------
[
21:49:00]   Loading filterscript 'ipchanger.amx'...
[
21:49:01] ----------------  ANTI IP Changer's Gauvida Vada !!!
[21:49:01] 
[21:49:01] 
[21:49:01] 
[21:49:01]   Loaded 1 filterscripts.
[21:49:01] [debug] Run time error 19: "File or function is not found"
[21:49:01] [debug]  PC_RenameCommand
[21:49:01] [debug] Run time error 19: "File or function is not found"
[21:49:01] [debug]  PC_RenameCommand
[21:49:01] Script[gamemodes/edrp.amx]: Run time error 19: "File or function is not found"
[21:49:01] Number of vehicle models: 0
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team
[21:49:26] 
[21:49:26] Server Plugins
[21:49:26] --------------
[21:49:26]  Loading plugin: crashdetect
[21:49:26]   crashdetect v4.9 is OK.
[21:49:26]   Loaded.
[21:49:26]  Loading plugin: streamer
[21:49:26] 
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[21:49:26]   Loaded.
[21:49:26]  Loading plugin: mysql
[21:49:26] 
  > MySQL plugin R5 successfully loaded.
[21:49:26]   Loaded.
[21:49:26]  Loading plugin: sscanf
[21:49:26] 
[21:49:26]  ===============================
[21:49:26]       sscanf plugin loaded.     
[21:49:26]          Version:  2.8.1        
[21:49:26]    © 2012 Alex "******" Cole  
[21:49:26]  ===============================
[21:49:26]   Loaded.
[21:49:26]  Loading plugin: CVector
[21:49:26] -------------------------------------------------------
[21:49:26] -                                                     -
[21:49:26] -        Vectoral Pawn v1.0 Loaded                     -
[21:49:26] -                by Skyline.                             -
[21:49:26] -                                                     -
[21:49:26] -------------------------------------------------------
[21:49:26]   Loaded.
[21:49:26]  Loading plugin: pawncmd
[21:49:26] Pawn.CMD plugin v3.1.2 by urShadow loaded
[21:49:26]   Loaded.
[21:49:26]  Loaded 6 plugins.
[21:49:26] 
[21:49:26] Filterscripts
[21:49:26] ---------------
[21:49:26]   Loading filterscript '
ipchanger.amx'...
[21:49:26] ----------------  ANTI IP Changer'
s Gauvida Vada !!!
[
21:49:26
[
21:49:26
[
21:49:26
[
21:49:26]   Loaded 1 filterscripts.
[
21:49:26]  
[
21:49:26]  
[
21:49:26]  
[
21:49:26]  ======================================= 
[
21:49:26]  |                                     | 
[
21:49:26]  |        YSI version 1.06.0002        
[
21:49:26]  |        By Alex "******" Cole        
[
21:49:26]  |                                     | 
[
21:49:26]  ======================================= 
[
21:49:26]  
[
21:49:26Setting server password to"5497"
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:26Serveri Warmatebit Daukavshirda Mysqls
[21:49:26Number of vehicle models88
[21:49:26] [debugRun time error 20"Invalid index parameter (bad entry point)"
[21:49:26NF 0
[21:49:26NF 1
[21:49:27NF 2
[21:49:27NF 3
[21:49:27NF 4
[21:49:39]  
[
21:49:39]  
[
21:49:39]  
[
21:49:39]  ======================================= 
[
21:49:39]  |                                     | 
[
21:49:39]  |        YSI version 1.06.0002        
[
21:49:39]  |        By Alex "******" Cole        
[
21:49:39]  |                                     | 
[
21:49:39]  ======================================= 
[
21:49:39]  
[
21:49:39Setting server password to"5497"
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39] [Pawn.CMDPlugin::n_PC_RenameCommandamx not found
[21:49:39Serveri Warmatebit Daukavshirda Mysqls
[21:49:39Number of vehicle models88
[21:49:39] [debugRun time error 20"Invalid index parameter (bad entry point)"
[21:49:39]  
[
21:49:39]  ========================================== 
[
21:49:39]  |                                        | 
[
21:49:39]  |  new version (v3.09.0684of YSI is  
[
21:49:39]  |            available from:             | 
[
21:49:39]  |                                        | 
[
21:49:39]  |     www.y-less.com/YSI/YSI_1.0.zip     
[
21:49:39]  |                                        | 
[
21:49:39]  | Changelog:                             | 
[
21:49:39]  |                                        | 
[
21:49:39]  |   3.00.0000:                           | 
[
21:49:39]  |                                        | 
[
21:49:39]  |   YSI 3.0 released!  Now includes the  
[
21:49:39]  | "y_text" library for better messages,  | 
[
21:49:39]  | and a reworked "y_classes" library.    | 
[
21:49:39]  | Largely documented here                
[
21:49:39]  | "http://forum.sa-mp.com/showthread.php | 
[21:49:39]  | ?t=321092"
.                            | 
[
21:49:39]  |                                        | 
[
21:49:39]  |   3.01.0002:                           | 
[
21:49:39]  |                                        | 
[
21:49:39]  |   Small fixes to "y_text" and          | 
[
21:49:39]  | "y_classes".                           | 
[
21:49:39]  |                                        | 
[
21:49:39]  |   3.09.0684:                           | 
[
21:49:39]  |                                        | 
[
21:49:39]  |   Reverted to old download location.   | 
[
21:49:39]  | Improved (and fixedversion checks;   | 
[
21:49:39]  | added y_bitmapy_areasy_races,      | 
[
21:49:39]  | y_zonenamesbetter documentation;     | 
[
21:49:39]  | MANY other bug fixes see the github  
[
21:49:39]  | repository for more details:           | 
[
21:49:39]  |                                        | 
[
21:49:39]  ========================================== 
[
21:49:39]  
[
21:49:49] [debugRun time error 20"Invalid index parameter (bad entry point)"
[21:49:55] [debugRun time error 20"Invalid index parameter (bad entry point)"
[21:49:55] [debugRun time error 20"Invalid index parameter (bad entry point)"
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[21:50:18
[
21:50:18Server Plugins
[21:50:18] --------------
[
21:50:18]  Loading plugincrashdetect
[21:50:18]   crashdetect v4.9 is OK.
[
21:50:18]   Loaded.
[
21:50:18]  Loading pluginstreamer
[21:50:18
*** 
Streamer Plugin v2.7.5.2 by Incognito loaded ***
[
21:50:18]   Loaded.
[
21:50:18]  Loading pluginmysql
[21:50:18
  > 
MySQL plugin R5 successfully loaded.
[
21:50:18]   Loaded.
[
21:50:18]  Loading pluginsscanf
[21:50:18
[
21:50:18]  ===============================
[
21:50:18]       sscanf plugin loaded.     
[
21:50:18]          Version:  2.8.1        
[21:50:18]    (c2012 Alex "******" Cole  
[21:50:18]  ===============================
[
21:50:18]   Loaded.
[
21:50:18]  Loading pluginCVector
[21:50:18] -------------------------------------------------------
[
21:50:18] -                                                     -
[
21:50:18] -        Vectoral Pawn v1.0 Loaded                     -
[
21:50:18] -                by Skyline.                             -
[
21:50:18] -                                                     -
[
21:50:18] -------------------------------------------------------
[
21:50:18]   Loaded.
[
21:50:18]  Loading pluginpawncmd
[21:50:18Pawn.CMD plugin v3.1.2 by urShadow loaded
[21:50:18]   Loaded.
[
21:50:18]  Loaded 6 plugins.
[
21:50:18
[
21:50:18Filterscripts
[21:50:18] ---------------
[
21:50:18]   Loading filterscript 'ipchanger.amx'...
[
21:50:18] ----------------  ANTI IP Changer's Gauvida Vada !!!
[21:50:18] 
[21:50:18] 
[21:50:18] 
[21:50:18]   Loaded 1 filterscripts.
[21:50:18]  
[21:50:18]  
[21:50:18]  
[21:50:18]  ======================================= 
[21:50:18]  |                                     | 
[21:50:18]  |        YSI version 1.06.0002        | 
[21:50:18]  |        By Alex "******" Cole        | 
[21:50:18]  |                                     | 
[21:50:18]  ======================================= 
[21:50:18]  
[21:50:18] Setting server password to: "5497"
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] [Pawn.CMD] Plugin::n_PC_RenameCommand: amx not found
[21:50:18] Serveri Warmatebit Daukavshirda Mysqls
[21:50:18] Number of vehicle models: 88
[21:50:18] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:50:18] NF 0
[21:50:18] NF 1
[21:50:18] NF 2
[21:50:18] NF 3
[21:50:18] NF 4 
And Heres My Code
PHP код:
    PC_RenameCommand("radio""switchwave");
    
PC_RenameCommand("npanel""n");
    
PC_RenameCommand("live""l");
    
PC_RenameCommand("givecontract""gcontract");
    
PC_RenameCommand("givepayday""gpayday");
    
PC_RenameCommand("spawn""sp");
    
PC_RenameCommand("ooc""o");
    
PC_RenameCommand("goverment""gov");
    
PC_RenameCommand("shout""s");
    
PC_RenameCommand("suspect""su");
    
PC_RenameCommand("megaphone""m");
    
PC_RenameCommand("family""f");
    
PC_RenameCommand("departments""d");
    
PC_RenameCommand("sms""txt");
    
PC_RenameCommand("pm""ot");
    
PC_RenameCommand("call""c");
    
PC_RenameCommand("pickup""p");
    
PC_RenameCommand("hangup""h");
    
PC_RenameCommand("advertise","ad");
    
PC_RenameCommand("recon","re");
    
PC_RenameCommand("admin","a");
    
PC_RenameCommand("geton","online");
    
PC_RenameCommand("teleport","tp");
    
PC_RenameCommand("goto","g");
    
PC_RenameCommand("agivelicense","agl");
    
PC_RenameCommand("whisper","w");
    
PC_RenameCommand("addtunnequeue","addtq");
    
PC_RenameCommand("directory","dir");
    
PC_RenameCommand("mainmenu","mm");
    
PC_RenameCommand("aad","ao");
    
PC_RenameCommand("conveyingarms","carm"); 
Reply
#2

I think you confused renaming with alias. This is what you're probably looking for:
pawn Код:
CMD:whisper(playerid, params[])
{
    // code..
    return 1;
}
alias:whisper("w");
About run time error 20, have main() function in the gamemode script. Most of your plugins are not updated either, something you should consider doing as soon as possible.
Reply
#3

Thaaanks ^^^
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)