Help with a noob that knows nothing about scripting =s
#1

Hi guys,

I'm aware that i'm supposed to be reading tutorials and such for this but i'm just completely lost as to know where to even start. I thought i wouldn't need to know scripting for this but i'll just give a general background of what i'm trying to do.

I'm using someone's game mode which is a server for just drifting. It has it's own commands to teleport and spawn cars and such. I recently want to create my own races which i stumbled upon to this person's filter scripts.

https://sampforum.blast.hk/showthread.php?tid=241681

I want to add these filter scripts to my server and as from what I've read, this is how i do it. I take the filterscripts i downloaded from the link above, i paste it in my filterscripts folder in my server. I go to server.cfg and add the filterscripts name beside the filterscipt row.

I also read that i'm supposed to use Pawno in my server folder, in which i open, i open the filterscript and i press compile. I then try it and the commands for the filterscripts don't work...

Once again, i apologize that i don't have the knowledge to search this up myself but i would have thought these steps would fix my problem. If i seriously need to learn how to filterscript, then just let me know and i will close this topic.

Thanks for your time guys
Reply
#2

go to http://pastebin.com/w1PePyQW
copy all scripts
open pawno and paste all that scripts
press run
copy the .pwn and .amx to gamemodes files
and put at gamemode lines the files name eg: lol.pwn lol.pwn = so you need to put at gamemode line is = lol
Reply
#3

Sorry about that, i forgot to say that i wanted to combine those filter scripts with the current game mode i'm using right now. That game mode is in this link

https://sampforum.blast.hk/showthread.php?tid=200258

So yeah... i wanted to combine the Race system with the elitedrift game mode
Reply
#4

you can add Filterscripts in your gamemode like this

Edit in your Server.cfg File

Код:
echo Executing Server Config...
lanmode 0
rcon_password Changepassword
maxplayers 10
port 7777
hostname Youservername
gamemode0 gamemodename 1
filterscripts FS1,FS2,FS3 // Here add Filterscripts
Reply
#5

It's usually more than just adding a filterscript there is any number of things that could cause conflicts resulting in failure once you start introducing unrelated code keep this in mind.
Reply
#6

You really shouldn't be downloading scripts and running them until you have a general knowledge about the PAWN language we program in. It's really annoying when someone goes to a server, likes the server, but there's never any development because of a scripter who doesn't actually know anything about scripting. Take it from me, in my first couple of years scripting I was a complete n00b. I tried to run two servers, while one got pretty popular (just really me and like 10-15 other people), it kind of died out because people were sick of the limited things I could offer.

Sure, an "admin system" is great, but keep in mind it's an "admin system" for a reason; meaning it's not for players. So, take your time to learn a little PAWN and THEN you can start up your own server.
Reply
#7

I'm not really looking to start a server for the public as i'm just doing this to play with a limited number of friends, but if it takes a long time to do this whole process then i suppose i'll just forget about it, thanks guys!
Reply
#8

Sorry guys, to clarify a bit of something, i need help to use the filterscripts in my server. For some reason, after putting both the amx and pwn file into the filterscripts, going into server.cfg to add onto the filterscript line, i then open my server and it says everything is fine.

When i go into my server, i try out the commands i went in my server but nothing happens. Here is my server log if this helps.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2-800p, ©2005-2011 SA-MP Team

[10:26:15]
[10:26:15] Server Plugins
[10:26:15] --------------
[10:26:15] Loaded 0 plugins.

[10:26:15]
[10:26:15] Filterscripts
[10:26:15] ---------------
[10:26:15] Loading filterscript 'baseaf.amx'...
[10:26:15]
--Base FS loaded.

[10:26:15] Loading filterscript 'gl_actions.amx'...
[10:26:15] Loading filterscript 'gl_property.amx'...
[10:26:15]
-----------------------------------
[10:26:15] Grand Larceny Property Filterscript
[10:26:15] -----------------------------------

[10:26:15] Loading filterscript 'gl_realtime.amx'...
[10:26:15] Loading filterscript 'gl_mapicon.amx'...
[10:26:15] Loading filterscript 'ls_elevator.amx'...
[10:26:15] Loading filterscript 'fs_race.amx'...
[10:26:15] Loaded 7 filterscripts.

[10:26:15] Reading File: blank
[10:26:15] Reading File: properties/houses.txt
[10:26:15] Reading File: properties/businesses.txt
[10:26:15] Reading File: properties/banks.txt
[10:26:15] Reading File: properties/police.txt

Im trying to use the fs_race filterscript and it says its loaded fine. I'm also using 0.3d for SAMP if this is the one that's causing the problem.
Reply
#9

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
It's usually more than just adding a filterscript there is any number of things that could cause conflicts resulting in failure once you start introducing unrelated code keep this in mind.
like pottus said, it could cause a conflict with your current gamemode.

also, remove the other filterscripts which you arent using
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)