• Welcome to Vice City Multiplayer.
 

FBS v0.2 (Force's Beginner Scripts)

Started by Force, October 21, 2008, 06:12:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gamyster

my IRC is #FBSMAN and i downloaded that FBS 0.2 from Rapidshare link only that u gave but still cant do any commands from IRC even if i am ~
Founder of [SAF]Clan

Force

Ok, If you can get on mIRC now, let me know because I'm idling on mIRC all day.

gta5

Edit: nevermind I figured it out myself!!

Force

To those of you who can't get there icon's to load:

Search in the scripts for: "alias fbs.loadprops"

You will find the following line:


vcmp.newpickup $1 407 $readini(FBS.PropLocs.ini,x,%a) $readini(FBS.PropLocs.ini,y,%a) $readini(FBS.PropLocs.ini,z,%a)


Change it so that it looks like this:


vcmp.newpickup 1 407 $readini(FBS.PropLocs.ini,x,%a) $readini(FBS.PropLocs.ini,y,%a) $readini(FBS.PropLocs.ini,z,%a)

evil_night13

Well the script worked so far good, without any problem.

But now i have 3 bugs!

1. !hunt, worked only once, after that it keeps on saying "ManHunt Failed to Activate" , i restarted the server lots of times, still no use!

Hunt solved: (thnkx to Rulk)
after this line alias FBS.ActivateHunt {

add this is a new line var %HuntAttempts = 0

2. TempBan is not working properly, i temp banned someone, gave !tempban nick 120

it kicked the member , and said immediately TempBan expired, i gave the ban for 2hrs!

Solved: (thnkx again to Rulk :D )

in the elseif ($1 == !tempban) {

Find the following :

timer.tempban $+ $vcmp.name(1, $FBS.ID($2)) 1 $calc($5 *60) FBS.TempBanRemove $vcmp.name(1, $FBS.ID($2))

change it to :

timer.tempban $+ $vcmp.name(1, $FBS.ID($2)) 1 $calc($3 *60) FBS.TempBanRemove $vcmp.name(1, $FBS.ID($2))


3. Propspawn is not working! i checked the ini, its said propspawn = on!

Force

Thanks for solving those bugs, there weird one's because they work for me and I am just using an updated version of the script.

As for the propspawn, I missed out the actual part that handles it.

On the "Spawn" signal, add the following:


  if ($FBS.SpawnSetting($2) == on) {
    var %prop = $readini(FBS.PropSpawn.ini,SPAWN,$vcmp.name($1, $2))
    var %loc = $readini(FBS.PropSpawn.ini,LOCATION,%prop)
    vcmp.msg $1 $2 Taking you to your property
    vcmp.setlocation $1 $2 %loc
    vcmp.say $1 >> $vcmp.name($1, $2) spawned
  }

evil_night13


gta5

I was just wondering if you can help with me with making another command similar to the setweapon one. The only difference would be players can set their own weapons.

Thanks
gta5

Tamas

Ahh, very nice script Force, maybe i will reconvert my wsv commands to this script  :P


BooMario[BR]

the props id's is not correct, is apeear 41, 42, in ini the props is 1, 2,

and not buy home!

help me plz, thanks  :D

Force

Okkkkkkkk weird  :o. Never had that problem before :S. Try reconnecting the scripts.

gta5

ya that happens to me 2. The props start with id 41 but to buy it u need to type 1

Force

Wow weird, at least it works with the proper id of 1 :P. Probably something I broked in the loop  :-X

BooMario[BR]

i restart the script, re apply the script and not have solution

help
:(