SA-MP Forums Archive
FS not working - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: FS not working (/showthread.php?tid=614448)



FS not working - Crosslife - 08.08.2016

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?


Re: FS not working - Freaksken - 08.08.2016

What doesn't work?


Re: FS not working - Crosslife - 08.08.2016

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.


Re: FS not working - Freaksken - 09.08.2016

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


Re: FS not working - Crosslife - 09.08.2016

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


Re: FS not working - Freaksken - 09.08.2016

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


Re: FS not working - Crosslife - 09.08.2016

Код:
[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;




Re: FS not working - Tass007 - 09.08.2016

What includes are in your gamemode?


Re: FS not working - Shinja - 09.08.2016

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


Re: FS not working - Crosslife - 09.08.2016

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