Filterscript conflicts with my gamemode
#1

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)
Reply
#2

So? What are we supposed to do about it? We don't know anything about your gamemode or the specific filterscript.
Reply
#3

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
Reply
#4

Lol... I've editted this message while I wanted to post another one.
Whatever, some suggestions in a new post
Reply
#5

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
Reply
#6

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
Reply
#7

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
Reply
#8

hmm i forgot, how about my Admin FS?
Reply
#9

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)