FileScripts - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: FileScripts (
/showthread.php?tid=122699)
FileScripts -
Xpack - 23.01.2010
i put other FS Under Filescripts , and it doesn't work , why?
Quote:
echo Executing Server Config...
lanmode 0
rcon_password mataarepula
maxplayers 50
port 7777
hostname Unamed Server
gamemode0 WorldOfStunts
filterscripts XtremeAdmin2
NiixiesSMv2
announce 1
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
|
Sorry for so many Topics , but , i really have to learn Scripting
Re: FileScripts -
llama - 23.01.2010
All filterscripts should be on a single line, like so:
filterscripts XtremeAdmin2 NiixiesSMv2
Re: FileScripts -
Xpack - 23.01.2010
i try that too , it doesn't work , this is the link where i download the
/spawn , /repair FS
http://forum.sa-mp.com/index.php?topic=137276.0
Re: FileScripts -
llama - 23.01.2010
How doesn't it work?
Make sure you place the .amx file into your server\filterscripts\ folder.
Re: FileScripts -
Xpack - 23.01.2010
And , and text when a player join my server , ? there is any code?
Re: FileScripts -
llama - 23.01.2010
What do you mean?
I'm guessing you mean a message that displays on the server when a user joins?
pawn Код:
public OnPlayerConnect(playerid)
{
new msg[64], pName[24];
GetPlayerName(playerid, pName, sizeof(pName));
format(msg, sizeof(msg), "%s(%d) has joined the server!", pName, playerid);
SendClientMessageToAll(0xAFAFAFAA, msg);
return 1;
}
Re: FileScripts -
Xpack - 23.01.2010
yeah , something like that , but , where i can write the text?
Re: FileScripts -
llama - 23.01.2010
The code goes anywhere into your gamemode or your filterscript(s) as long as it's not in another function nor callback.
Re: FileScripts -
Xpack - 23.01.2010
ok , with message i'm done , and also spawn
now i need the cmd '' /count '' , and /onb (on bike ) , when you fall out bike , pres '' ALT '' and teleport you back on it
Re: FileScripts -
llama - 23.01.2010
If you cannot script those yourself, then I suggest reading the wiki at
http://wiki.sa-mp.com to improve your scripting knowledge. Else, you can use this topic to request codes:
http://forum.sa-mp.com/index.php?topic=144062.0.