• Welcome to Vice City Multiplayer.
 
Menu

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.

Show posts Menu

Messages - youlikethaaaat

#1
Quote from: thijn on January 12, 2009, 03:36:51 PM
U mean like in NoN :o
lol.. =RM= done it originally, justy we give the user the choice to have it on and what unit to use with the !speedo command

dont know why NoN copy my scripts -_-

heres how we've done it:
1) have a timer launching a while loop every second
2) the while loop calculates the distance between the current loc and the loc from previous loop
3) the loc is in mps, so we use a few basic formulas to convert to things such as mp/h and kmph
4) does an announcement to each player if they have it enabled, using the unit they have chose (mps/mph/kmph)
4) then stores the loc
#2
Script Showroom / Re: New VC-MP mIRC Admin
February 05, 2009, 10:07:07 AM
found copy of the 2nd latest version
here uploaded it for you: http://grandkillers.uberaaz.com/filez/vc-mp.zip
#3
mIRC/pawn Scripting / Re: Gus (Markers)
December 20, 2008, 01:16:31 AM
alias vcmp.destination.addall {
  var %a = 1, %b = 1
  %t = $vcmp.readini(vcmp.destinations.ini,TOTALL,TOTALL)
  while (%a <= %t) {
    if ($vcmp.readini(vcmp.destinations.ini,%a,STATUS) == 1) {
      var %loc =  $vcmp.readini(vcmp.destinations.ini,%a,x) $vcmp.readini(vcmp.destinations.ini,%a,y) $vcmp.readini(vcmp.destinations.ini,%a,z)
      if ($1 == pickups) .timer -m 1 %b vcmp.newpickup 56 %loc
      else .timer -m 1 %b vcmp.setdestination $vcmp.readini(vcmp.destinations.ini,%a,ID) %loc
      %b = %b + 50
    }
    !inc %a
  }
}
from old rm scripts... stored in vcmp.destinations.ini with same syntax as gus vcmp.pickups.ini...

if you call the alias with pickups after... (vcmp.destination.addall pickups) it creates invisable pickups with id 56... so you can detect using scripts....

heres the old detection identifier:
alias vcmp.getdestination {
  var %id = $1
  var %a = 1, %b = 1
  %t = $vcmp.readini(vcmp.destinations.ini,TOTALL,TOTALL)
  while (%a <= %t) {
    if ($vcmp.readini(vcmp.destinations.ini,%a,STATUS) == 1) {
      var %x =  $vcmp.readini(vcmp.destinations.ini,%a,x)
      var %y = $vcmp.readini(vcmp.destinations.ini,%a,y)
      var %z = $vcmp.readini(vcmp.destinations.ini,%a,z)
      if ($inellipse($vcmp.location(%id,x),$vcmp.location(%id,y),$calc(%x - 5),$calc(%y - 5) ,10,10)) return %a
      %b = %b + 50
    }
    !inc %a
  }
  return unknown
}



and you would need to make scripts create the markers when players join...

heres the ini file i used to use: http://grandkillers.uberaaz.com/filez/vcmp.destinations.ini
#4
mIRC/pawn Scripting / Re: New SCRIPT By JoJo_boy
December 16, 2008, 11:39:50 PM
ye.... is just a mod of gus 9.0...
all the visable messages to players saying tommis scripted it have been removed....
i've ran it through some file comparision software and heres a massive 1409px ? 3169px image of all the things he's changed: http://grandkillers.uberaaz.com/filez/kdiff.PNG
#5
General Discussion / Re: Message Regarding FAKE Tommis's
December 01, 2008, 08:56:43 PM
given level 10 to one before realizing a second later (due to not proper english ^^), they got a nice ban ^^

maybe some sort of master ban list would be good?
#6
Vice City / Re: edit controls with a text editor?
September 16, 2008, 04:24:19 PM
you could use something to make hotkeys such as autohotkey http://autohotkey.com...

heres a quick autohotkey script to make the alt key behave same as Rctrl only while game is active:

#IfWinActive, GTA: Vice City
Alt::RCtrl