Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Javi

Pages: 1 ... 8 9 [10]
136
mIRC/pawn Scripting / Re: LastManStanding [FBS, WIP]
« on: October 13, 2009, 10:31:29 pm »
I'm lucky of having you (and other) near me. Nabs scripter needs help  :P

I mean, how do you write in SQ? Any software?

137
mIRC/pawn Scripting / Re: LastManStanding [FBS, WIP]
« on: October 13, 2009, 07:11:29 pm »
Thank you soooo much Greg!  :D

NC, thanks. I guess I completely sux at scripting  :-[
I'll try to work on it. BTW how can I start working with SQ?

138
mIRC/pawn Scripting / Re: LastManStanding [FBS, WIP]
« on: October 12, 2009, 11:53:41 pm »
Thanks, but the !join CMD is included  :P

139
mIRC/pawn Scripting / LastManStanding [FBS, WIP]
« on: October 12, 2009, 04:27:50 pm »
Hya all,
I've been working on some LastManStanding (Simple) for FBS, this isn't working right now, for me.
What it does:
  • Takes you to the LMS Position
  • Freezes you
  • Sets your HP to 100
  • Sets your Armour to 100
  • Counts down
  • Unfreezes
  • Begins


Here's the script, it would be fine if some of you guys could fix it  :P
Code: [Select]
}
  elseif ($3 == lms) {
    if (%lms == on) vcmp.say $1 ** LastManStanding already in progress!
    else {
      set %lms on
      timer 1 1 vcmp.say $1 ** LastManStanding has started! Type !join within 20 seconds.
      timer 1 20 set %lms off
    }
  }
  elseif ($3 == join) {
    if (%lms == on) vcmp.say $1 ** $vcmp.name($1, $2) has joined LastManStanding!
    else {
    vcmp.setlocation $1 $2 -754.187866 -1602.638916 23.734970
    vcmp.setarmour $1 $vcmp.name($1, $2) 100
    vcmp.sethealth $1 $vcmp.name($1, $2) 100
    vcmp.msg $1 $2 Taking you to LastManStanding. Enjoy!
      timer 1 1 vcmp.setcontrols $1 $vcmp.name($1, $2) 0
      timer 1 2 vcmp.say $1 LastManStanding starting in:
      timer 1 5 vcmp.say $1 ---- 1 ----
      timer 1 6 vcmp.say $1 ---- 2 ----
      timer 1 7 vcmp.say $1 ---- 3 ----
      timer 1 8 vcmp.say $1 ---- GO! ----
      timer 1 8 vcmp.setcontrols $1 $vcmp.name($1, $2) 1
  }
else {
      if (%lms == off) {
    vcmp.say $1 ** LastManStanding is not active!
      }   
    }

140
mIRC/pawn Scripting / Re: How to weather?...
« on: October 12, 2009, 01:13:15 am »
Thank you for your help, I needed it.

Forze: Proud nab (very) scripter  :-[

BTW How is that of calling a variable ":O" ? LOL

141
mIRC/pawn Scripting / Re: How to weather?...
« on: October 11, 2009, 10:12:36 pm »
Really?  :o

I thought the var:
      var %rweather = $rand(0,9)
Would set a variable that changes, from 1 to 9  ???

142
mIRC/pawn Scripting / Re: How to weather?...
« on: October 10, 2009, 05:28:57 pm »
Here's my attempt  :P

Code: [Select]
  elseif ($3 == rw) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 5.
    elseif ($FBS.Level($1, $2) < 5) vcmp.msg $1 $2 Error, You must be at least Admin Level 5.
    elseif ($4 !isnum) vcmp.msg $1 $2 Error - Correct Syntax: /c $3
    else {
      var %rweather = $rand(0,9)
      set %rw on
      timer 1 1 vcmp.setweather $1 %rweather
      timer 1 1 vcmp.say $1 ** Weather changed automatically.
      timer 1 600 vcmp.setweather $1 %rweather
      timer 1 600 vcmp.say $1 ** Weather changed automatically.
      timer 1 1200 vcmp.setweather $1 %rweather
      timer 1 1200 vcmp.say $1 ** Weather changed automatically.
      timer 1 1800 vcmp.setweather $1 %rweather
      timer 1 1800 vcmp.say $1 ** Weather changed automatically.
      timer 1 2400 vcmp.setweather $1 %rweather
      timer 1 2400 vcmp.say $1 ** Weather changed automatically.
      timer 1 3000 vcmp.setweather $1 %rweather
      timer 1 3000 vcmp.say $1 ** Weather changed automatically.
      timer 1 3600 vcmp.setweather $1 %rweather
      timer 1 3600 vcmp.say $1 ** Weather changed automatically.
      timer 1 3600 vcmp.say $1 ** Random Weather has finished.
      timer 1 3600 set %rw off
    }

This will set a random weather every 10 minutes, after an hour, it will stop.
If you want do activate it do: /c rw

NOTE:
Not tested

143
mIRC/pawn Scripting / Re: How to weather?...
« on: October 10, 2009, 01:47:56 pm »
Here's the script I worked on. It's kind of XE's !gw, but for every level and using /c

Command: /c gw <Any number here>
Scripts: Requires FBSV0.2
Code: [Select]
 }  
elseif ($3 == gw) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in.
    elseif ($FBS.Level($1, $2) < 1) vcmp.msg $1 $2 Error, You must either register or be logged in.
    elseif ($4 !isnum) vcmp.msg $1 $2 Error - Correct Syntax: /c $3
    else {
      vcmp.setweather $1 4
      vcmp.settime $1 12 00
      vcmp.say $1 ** $vcmp.name($1, $2) set good weather!
    }
STATUS: Working

144
mIRC/pawn Scripting / Re: FBS V0.2 Release Car Limit
« on: September 26, 2009, 06:49:07 pm »
Thank you very much Forze!

It worked.
No problem, glad I have helped  :D

145
mIRC/pawn Scripting / Asking for some scripts
« on: September 26, 2009, 12:50:39 pm »
Hey all,
I'd like to ask for some things, all of them for FBS.
  • How to fix the props?
  • Gotoloc?
  • Car colors?

I'd prefer to fix the 2 first ones, I'll thank it with a smiley like this  :D
Bye  :)

146
mIRC/pawn Scripting / Re: !delprop For FBS0.2
« on: September 26, 2009, 11:40:32 am »
Not sure. Ask some scripters, I am a proud nab scripter  ;D

If you host the server browse the archives.

147
mIRC/pawn Scripting / Re: FBS V0.2 Release Car Limit
« on: September 26, 2009, 11:39:42 am »
haaa zorry my inglish is malo


perdon pero mi ingles es malo :(
No problem  :)

148
mIRC/pawn Scripting / Re: FBS V0.2 Release Car Limit
« on: September 24, 2009, 11:50:42 pm »
Ariel, you are wrong  :P

I mean that >= 2

149
mIRC/pawn Scripting / Re: FBS V0.2 Release Car Limit
« on: September 22, 2009, 05:38:59 pm »
Easy, find this part in FBSV0.2.mrc

elseif ($FBS.Mycars($1, $2) >= 2) vcmp.msg $1 $2 Error, You have reached your vehicle limit

And change the Number 2 to the limit of cars you want.
IE: ($1, $2) >= 5)

Hope this helps  :D

Pages: 1 ... 8 9 [10]