Conflict FS
#1

Well, I found this FS and wanted to use it on the server, it worked well on my GM, but it conflicted with the command that creates vehicles for Admins (/ Cv)
When an Admin creates a vehicle, that vehicle comes as owner of the Old Player who sold his vehicle from the Concessionaire ... That is, if a player buys a vehicle and then sells it, Admin can not use the vehicle created by the command (/ Cv) pq comes with the Data of the last player who sold your vehicle!
And that makes it impossible for Admin to ride with his vehicles built to help new players!

I tried several steps of my knowledge, nothing else solved!
If someone is willing to help, call MP, or any suggestions below.

My Command: https://pastebin.com/Srverrb1 (/ Cv)

FS: https://pastebin.com/GLYxxKC1

Print: https://i.imgur.com/zDnyxOZ.png

Thank you!
Reply
#2

UP! UP!
Reply
#3

Using filterscripts in most cases will fuck up the gamemode after some time, either try to implent the FS into the gamemode, or delete the admin command.
Reply
#4

What I do to make gamemodes is, instead of making filterscripts I make a seperate file just like a filterscript.
I replace all the public functions of the script with stocks and type the stock names in the original publics of the gamemode
For example :-
PHP код:
public OnGameModeInit() to OnGInit() // In the script (not gamemode) 
PHP код:
public OnGameModeInit() // In gamemode
{
OnGInit();

I hope you understood what I tried to explain above ^.
Reply
#5

Quote:
Originally Posted by Escobabe
Посмотреть сообщение
Using filterscripts in most cases will fuck up the gamemode after some time, either try to implent the FS into the gamemode, or delete the admin command.
I understand, but what I wanted to do was to deploy FS to my Gamemode, but I did conflict with the command!
Reply
#6

Quote:
Originally Posted by Sunehildeep
Посмотреть сообщение
What I do to make gamemodes is, instead of making filterscripts I make a seperate file just like a filterscript.
I replace all the public functions of the script with stocks and type the stock names in the original publics of the gamemode
For example :-
PHP код:
public OnGameModeInit() to OnGInit() // In the script (not gamemode) 
PHP код:
public OnGameModeInit() // In gamemode
{
OnGInit();

I hope you understood what I tried to explain above ^.
Yes I understood !
I will put it into practice and see if it will solve, thanks for the tip.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)