FS not working
#1

well, i'm trying to use Sreyas's gang system
Код:
[23:16:39] 
[23:16:39] Filterscripts
[23:16:39] ---------------
[23:16:39]   Loading filterscript 'sreyasgang.amx'...
[23:16:40]   Loading filterscript 'Anims.amx'...
[23:16:40]   Loaded 2 filterscripts.
it says loaded but it's not working in game (i've tested it), plus i got no error in script.
Anyone?
Reply
#2

What doesn't work?
  • Does the command not work?
  • Does the dialog not show up?
  • Do you get a message when you type the command?
  • ...
Reply
#3

all of the commands of that fs doesn't work in game, i got a message when i did a command. it's Server: Unknown Command.
Reply
#4

Are you sure you have zcmd, sscanf2 and foreach installed?
Have you modified the code?
Reply
#5

yes im sure, i have them installed
nope, i haven't modified the code
Reply
#6

And you are sure all the plugins are loaded as well?
If so, post one of your commands (preferably a short one).
Reply
#7

Код:
[11:01:13] 
[11:01:13] Server Plugins
[11:01:13] --------------
[11:01:13]  Loading plugin: streamer
[11:01:13] 

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

[11:01:13]   Loaded.
[11:01:13]  Loading plugin: YSF
[11:01:13] 

[11:01:13]  ===============================

[11:01:13]         YSF 0.3.00 loaded

[11:01:13]    © 2008 Alex "******" Cole

[11:01:13]     Operating System: Windows

[11:01:13]  ===============================

[11:01:13]   Loaded.
[11:01:13]  Loading plugin: sscanf
[11:01:13] 

[11:01:13]  ===============================

[11:01:13]       sscanf plugin loaded.     

[11:01:13]    © 2009 Alex "******" Cole

[11:01:13]    0.3d-R2 500 Players "dnee"

[11:01:13]  ===============================

[11:01:13]   Loaded.
[11:01:13]  Loading plugin: Whirlpool
[11:01:13]  
[11:01:13]  ==================
[11:01:13]  
[11:01:13]   Whirlpool loaded
[11:01:13]  
[11:01:13]  ==================
[11:01:13]  
[11:01:13]   Loaded.
[11:01:13]  Loading plugin: GeoIP_Plugin
[11:01:13] GeoIP_Plugin got loaded.
[11:01:13]   Loaded.
[11:01:13]  Loaded 5 plugins.
plugins are loaded perfectly

one of sreyas's gang cmd.
PHP код:
CMD:gangtag(playerid,params[])
{
    new 
tag[4],newname[25],Query[245];
    if(
GInfo[playerid][gangmember] == 0) return SendClientMessage(playerid,-1,""RED"You are not a Gang Member");
    if(
GInfo[playerid][gangleader] == 0) return SendClientMessage(playerid,-1,""RED"You are not authorised to do it");
    if(
sscanf(params,"s[4]",tag)) return SendClientMessage(playerid,-1,""RED"Error:"GREY"/gangtag [new tag]");
    
GetPlayerName(playerid,newname,25);
    
strcat(newname,tag,sizeof(newname));
    
format(Query,sizeof(Query),"UPDATE Gangs SET GangTag = '%s' WHERE GangName = '%s'",DB_Escape(tag),DB_Escape(GInfo[playerid][gangname]));
    
db_query(Database,Query);
    foreach(new 
Player)
    {
        if(!
strcmp(GInfo[i][gangname],GInfo[playerid][gangname],false))
        {
            
SetPlayerName(i,newname);
            
SendClientMessage(i,-1,""RED"Leader"WHITE"Has Set New Tag For Gang");
        }
    }
    return 
1;

Reply
#8

What includes are in your gamemode?
Reply
#9

Quote:
Originally Posted by Crosslife
Посмотреть сообщение
Код:
[11:01:13]  Loading plugin: sscanf
[11:01:13] 

[11:01:13]  ===============================

[11:01:13]       sscanf plugin loaded.     

[11:01:13]    © 2009 Alex "******" Cole

[11:01:13]    0.3d-R2 500 Players "dnee"

[11:01:13]  ===============================

[11:01:13]   Loaded.
That's not how lastest version of sscanf gets loaded
Its like that

Код:
[10:41:12]  Loading plugin: sscanf
[10:41:12] 

[10:41:12]  ===============================

[10:41:12]       sscanf plugin loaded.     

[10:41:12]          Version:  2.8.2        

[10:41:12]    © 2012 Alex "******" Cole  

[10:41:12]  ===============================
Try to update your sscanf plugin and include here
https://github.com/maddinat0r/sscanf/releases
Reply
#10

i just changed the version to 0.3.7 and wallaa.. it works .___.
thanks for tryin to help me guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)