Author Topic: where to paste the scripts?  (Read 838 times)

0 Members and 1 Guest are viewing this topic.

Offline Nubism

  • Major
  • *
  • Posts: 58
where to paste the scripts?
« on: June 03, 2008, 06:08:15 am »
well, i saw a script now and i want it for my server
the script is
Code: [Select]
function OnPlayerCommand(ID: Byte; Text: string): boolean;
begin
if Text = '/bow' then begin
ForceWeapon(ID, 12, 13, 0);
end;
Result := False;
end;

i only have to open any folder, paste it there and save it as bow.ini in the soldat folder or do i have to take any special folder and any other name than bow.ini?

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: where to paste the scripts?
« Reply #1 on: June 03, 2008, 06:41:29 am »
There's a folder called 'scripts' in the soldatserver folder, create a new folder called 'bow' in there. Make a file called 'bow.pas' in there and paste the code in it. Then, create a file called 'Includes.txt' (also in the 'bow' folder) and write 'bow.pas' in it.

Offline Nubism

  • Major
  • *
  • Posts: 58
Re: where to paste the scripts?
« Reply #2 on: June 03, 2008, 11:12:03 am »
thank you very much but...
what is if i want to take 2scripts?
like bow script and ruger script?
i have to paste both scripts as bow.pas and ruger.pas
in the script folder and to write bow.pas and under it ruger.pas then?