How to make the fs work
#1

ok i have a fuel system fs, but when i get charged the money just goes back up and i copied the stock giveplayercash from my scriot into the fs and everything dies then :/
Reply
#2

Open " Server.cfg " find the " Filterscript " line, and add the .amx name there.
For explain:
I have Fuel.amx So you taking the " Fuel " copy to filterscripts line

Код:
echo Executing Server Config...
lanmode 0
rcon_password changeme
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 grandlarc 1
filterscripts Fuel
announce 0
query 1
weburl www.sa-mp.com
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
______________________________________________
Edit:
Can you copy error's ?
Reply
#3

Quote:
Originally Posted by Camorra
Посмотреть сообщение
Open " Server.cfg " find the " Filterscript " line, and add the .amx name there.
For explain:
I have Fuel.amx So you taking the " Fuel " copy to filterscripts line

Код:
echo Executing Server Config...
lanmode 0
rcon_password changeme
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 grandlarc 1
filterscripts Fuel
announce 0
query 1
weburl www.sa-mp.com
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
______________________________________________
Edit:
Can you copy error's ?
That wasn't what he asked for..
using server sided money like in a FS will make the money go back to the money you had before..
Reply
#4

You can't just copy the function from your GM; you also need the system for the anticheat.
I would implement the FS instead of using it as an FS.
Reply
#5

Quote:
Originally Posted by goviscrap
Посмотреть сообщение
That wasn't what he asked for..
using server sided money like in a FS will make the money go back to the money you had before..
Subject is " Re: How to make the fs work " and then i Edit: can you copy error's if have ?
I wrote it all just to make sure he did all as needed.
Reply
#6

Quote:
Originally Posted by Camorra
Посмотреть сообщение
Subject is " Re: How to make the fs work " and then i Edit: can you copy error's if have ?
I wrote it all just to make sure he did all as needed.
Read this AGAIN:
ok i have a fuel system fs, but when i get charged the money just goes back up and i copied the stock giveplayercash from my scriot into the fs and everything dies then .....


What can you get out from the text?
Reply
#7

Can you copy error's ?
What can you get out from the text?
Reply
#8

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Implement the FS instead of using it as an FS.
The best solution ^
Reply
#9

If you want to use that FS as an FS with your game mode and you want it to deduct player's money. You need both the script's to callremotefunction of SA-MP Native GivePlayerMoney(), etc.!

Else if you want it to be simple. Merge that FS inside your game mode and change money variables of the fs code's according to your game mode. If you can not do it. Paste your game mode and the FS on www.pastebin.com , i will do it for you. Have fun!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)