SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 23/01/2010, 09:15 AM   #1
Xpack
Big Clucker
 
Join Date: Feb 2009
Posts: 69
Reputation: 0
Default FileScripts

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
Xpack is offline  
Old 23/01/2010, 09:20 AM   #2
llama
Big Clucker
 
Join Date: Dec 2007
Posts: 113
Reputation: 0
Default Re: FileScripts

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

filterscripts XtremeAdmin2 NiixiesSMv2
llama is offline  
Old 23/01/2010, 09:24 AM   #3
Xpack
Big Clucker
 
Join Date: Feb 2009
Posts: 69
Reputation: 0
Default Re: FileScripts

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
Xpack is offline  
Old 23/01/2010, 09:26 AM   #4
llama
Big Clucker
 
Join Date: Dec 2007
Posts: 113
Reputation: 0
Default Re: FileScripts

How doesn't it work?

Make sure you place the .amx file into your server\filterscripts\ folder.
llama is offline  
Old 23/01/2010, 09:29 AM   #5
Xpack
Big Clucker
 
Join Date: Feb 2009
Posts: 69
Reputation: 0
Default Re: FileScripts

And , and text when a player join my server , ? there is any code?
Xpack is offline  
Old 23/01/2010, 09:38 AM   #6
llama
Big Clucker
 
Join Date: Dec 2007
Posts: 113
Reputation: 0
Default Re: FileScripts

What do you mean?

I'm guessing you mean a message that displays on the server when a user joins?

pawn Code:
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;
}
llama is offline  
Old 23/01/2010, 09:39 AM   #7
Xpack
Big Clucker
 
Join Date: Feb 2009
Posts: 69
Reputation: 0
Default Re: FileScripts

yeah , something like that , but , where i can write the text?
Xpack is offline  
Old 23/01/2010, 09:45 AM   #8
llama
Big Clucker
 
Join Date: Dec 2007
Posts: 113
Reputation: 0
Default Re: FileScripts

The code goes anywhere into your gamemode or your filterscript(s) as long as it's not in another function nor callback.
llama is offline  
Old 23/01/2010, 09:49 AM   #9
Xpack
Big Clucker
 
Join Date: Feb 2009
Posts: 69
Reputation: 0
Default Re: FileScripts

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
Xpack is offline  
Old 23/01/2010, 09:57 AM   #10
llama
Big Clucker
 
Join Date: Dec 2007
Posts: 113
Reputation: 0
Default Re: FileScripts

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.
llama is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:30 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.