22.07.2011, 19:51
Hello. I tryed to make a /updates command, and it shows some text.
And i get this:
This is in my gamemode, tryed to put the code in filterscript, no errors, but it wont show up when i do /updates. The log says the filterscript is loaded, but it wont work.
Filterscript i dont get errors on.
Help?
Код:
if(strcmp(cmd, "/updates", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GREEN,"Updates of the server.");
SendClientMessage(playerid, COLOR_GRAD1,"Verson: v1.0");
SendClientMessage(playerid, COLOR_GRAD1,"Comming soon.");
SendClientMessage(playerid, COLOR_GRAD2,"Comming soon.");
SendClientMessage(playerid, COLOR_GRAD2,"Comming soon.");
SendClientMessage(playerid, COLOR_GRAD3,"For olds updates, check your forum");
Код:
C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(2550) : error 004: function "FixHour" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(5394) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(5407) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(5639) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(5654) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(5736) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(6000) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(7251) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(7626) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(7639) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(10440) : error 004: function "PBNews" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(10442) : error 004: function "PBUpdateStats" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(10453) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(10655) : error 004: function "PBTele" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(10989) : error 004: function "PBNews" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(10994) : error 004: function "PBNews" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(11801) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13146) : error 017: undefined symbol "encode_tires" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13164) : error 017: undefined symbol "encode_tires" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13197) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13204) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13211) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13218) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(13884) : error 017: undefined symbol "ProxDetector" C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(15688) : error 004: function "FixHour" is not implemented C:\Users\D\Script\gamemodes\GTA-RGRP.pwn(17099) : error 004: function "FixHour" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
if(strcmp(cmd, "/updates", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GREEN,"Updates of the server.");
SendClientMessage(playerid, COLOR_GRAD1,"Verson: v1.0");
SendClientMessage(playerid, COLOR_GRAD1,"Comming soon.");
SendClientMessage(playerid, COLOR_GRAD2,"Comming soon.");
SendClientMessage(playerid, COLOR_GRAD2,"Comming soon.");
SendClientMessage(playerid, COLOR_GRAD3,"For olds updates, check your forum");
#endif
Help?


