FileScripts
#1

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

All filterscripts should be on a single line, like so:

filterscripts XtremeAdmin2 NiixiesSMv2
Reply
#3

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

How doesn't it work?

Make sure you place the .amx file into your server\filterscripts\ folder.
Reply
#5

And , and text when a player join my server , ? there is any code?
Reply
#6

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

yeah , something like that , but , where i can write the text?
Reply
#8

The code goes anywhere into your gamemode or your filterscript(s) as long as it's not in another function nor callback.
Reply
#9

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)