Filterscript conflicts with my gamemode -
DaneAMattie - 08.11.2010
Hey i just made my own gamemode and i downloaded an FS, now actialy my whole gamemode stopped working :S (all commands, team color's etc)
EDIT:
i also found out that it disabled my admin FS :S (all commands are not working now)
Re: Filterscript conflicts with my gamemode -
Vince - 08.11.2010
So? What are we supposed to do about it? We don't know anything about your gamemode or the specific filterscript.
Re: Filterscript conflicts with my gamemode -
DaneAMattie - 08.11.2010
Quote:
Originally Posted by Vince
So? What are we supposed to do about it? We don't know anything about your gamemode or the specific filterscript.
|
well the filterscript is a house system:
https://sampforum.blast.hk/showthread.php?tid=179206
it just disabled all my other scripts :S
Re: Filterscript conflicts with my gamemode -
Kwarde - 08.11.2010
Lol... I've editted this message while I wanted to post another one.
Whatever, some suggestions in a new post
Re: Filterscript conflicts with my gamemode -
DaneAMattie - 08.11.2010
Quote:
Originally Posted by Kwarde
Check the FS:
by "OnPlayerCommandText", is it closed with a "return 0;" ? (and the bracket of course  )
Example:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { //Codes return 0; //Not return 1;! (the FilterScript, in the GameMode it has to be return 1;) }
And after that, does the FilterScript require a plugin? If true, you need to load the plugin too
|
i indeed found that one myself but still the same problem :S
edit:
LOL kwarde its your script that does this >=[ :P
Re: Filterscript conflicts with my gamemode -
Kwarde - 08.11.2010
Like I said in the "copy paste""tutorial", it's for a GameMode.
So maybe it's a better idea to make a copy of your gamemode, save the copy (so you've made a backup) and try to integrate the housesystem with the gamemode
Re: Filterscript conflicts with my gamemode -
DaneAMattie - 08.11.2010
Quote:
Originally Posted by Kwarde
Like I said in the "copy paste""tutorial", it's for a GameMode.
So maybe it's a better idea to make a copy of your gamemode, save the copy (so you've made a backup) and try to integrate the housesystem with the gamemode 
|
i gues your right my friend, i will try it, THANKS for the house system btw
Re: Filterscript conflicts with my gamemode -
DaneAMattie - 08.11.2010
hmm i forgot, how about my Admin FS?
Re: Filterscript conflicts with my gamemode -
Kwarde - 08.11.2010
Quote:
Originally Posted by DaneAMattie
hmm i forgot, how about my Admin FS?
|
OR
It will be fixed too when you've integrated the House System in the GM (IF that's gonna work :P)
OR
There's something wrong in the Admin FS. What Admin FS are you using, a self-maded one, or a downloaded?
If you made one yourself, it should be better to add it in the GameMode too

And if you wanna have the option to turn off something you can simply use defines:
pawn Код:
//Under the includes .. blabla
#define use_adminfs
//to check if the define exists
#if defined use_adminfs
//Some script of the admin filterscript
#endif
So if you comment the 'use_adminfs' define (
//#define use_adminfs the script won't be used.
Or just use an bool or something, so you can enable/disable it ingame xD
Re: Filterscript conflicts with my gamemode -
DaneAMattie - 09.11.2010
Quote:
Originally Posted by Kwarde
OR
It will be fixed too when you've integrated the House System in the GM (IF that's gonna work :P)
OR
There's something wrong in the Admin FS. What Admin FS are you using, a self-maded one, or a downloaded?
If you made one yourself, it should be better to add it in the GameMode too 
And if you wanna have the option to turn off something you can simply use defines:
pawn Код:
//Under the includes .. blabla #define use_adminfs
//to check if the define exists #if defined use_adminfs //Some script of the admin filterscript #endif
So if you comment the 'use_adminfs' define ( //#define use_adminfs the script won't be used.
Or just use an bool or something, so you can enable/disable it ingame xD
|
i fixed the game mode stuff and now my Admin is also fixed, and it was an self made Admin FS btw