• 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 - Rusty

#1
mIRC/pawn Scripting / Re: VCMP 0.3z Team-Colours
March 24, 2009, 09:15:24 PM
Cheers the other one i couldn't make out the colors.

:)
#2
mIRC/pawn Scripting / Re: Scripts needed!!!
March 18, 2009, 09:06:34 PM
In FBS.Buildings.ini put the follwoing line.

-942.9848,95.4452,-940.5682,88.7636,-970.0644,89.0217,-970.5945,95.4211=Weedfield

The Field is located at the Haitian Ghetto House try doing !growweed in the long patches of Grass till it displays the "Growing" message.  If you need a Screenshot of it PM me.

Now my Weed Commands are usable all you need now if a !smoke and a !sellweed commands and it'll be a good system for RPG Servers.
#3
Script Showroom / Weed Growing [FBS Add-On]
March 18, 2009, 03:33:43 PM
Here's a very simple Weed Growing System.

Commands: !growweed, !pickweed


  elseif ($3 == growweed) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    elseif (Weedfield !isin $FBS.Buildings(1, $2)) vcmp.msg $1 $2 You can only grow Weed in the Field.
    elseif ($readini(FBS.weed.ini,PLANTED,$vcmp.name($1, $2)) == Planted) vcmp.msg $1 $2 You are already growing Weed, wait till you pick then grow some more.
    else {
      vcmp.msg $1 $2 You are now growing Weed, wait till it grows.
      !writeini -n FBS.weed.ini PLANTED $vcmp.name($1, $2) Planted
      timer 1 60 vcmp.msg $1 $2 Your weed has Grown. Type !pickweed to pick it.
      !writeini -n FBS.weed.ini GROWN $vcmp.name($1, $2) Weedgrown
    }
  }
  elseif ($3 == pickweed) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    elseif (Weedfield !isin $FBS.Buildings(1, $2)) vcmp.msg $1 $2 You Must be at the Field to Pick Weed.
    elseif ($readini(FBS.weed.ini,GROWN,$vcmp.name($1, $2)) == $null) vcmp.msg $1 $2 You must Grow your Weed first.
    else {
      vcmp.msg $1 $2 You have picked up your Units of Weed.
      !writeini -n FBS.weed.ini WEED $vcmp.name($1, $2) $calc($FBS.drugweed($1, $2) + 4)
      !remini -n FBS.weed.ini PLANTED $vcmp.name($1, $2)
      !remini -n FBS.weed.ini GROWN $vcmp.name($1, $2)
    }
  }


!weed - Command to show how much weed you Have.

  elseif ($3 == weed) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    else {
      vcmp.msg $1 $2 Weed: $iif($readini(FBS.weed.ini,WEED,$vcmp.name($1, $2)),$v1,0)
    }
  }




Weed Alias: alias FBS.drugweed !return $iif($readini(FBS.weed.ini,WEED,$vcmp.name($1, $2)),$v1,0)
#4
mIRC/pawn Scripting / Re: Scripts needed!!!
March 18, 2009, 03:20:53 PM
!ad Command for FBS Scripts.


  elseif ($3 == ad) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    elseif (!$4) vcmp.msg $1 $2 Syntax: ! $+ $3 <text>
    elseif (%advert == on) vcmp.msg $1 $2 Advert already posted, wait 10secs to Advert again.
    elseif ($FBS.actcash($1, $2) == 1) vcmp.msg $1 $2 You must have $50 to Advertise.
    else {
      FBS.DecCash $1 $2 50
      set %advert On
      vcmp.say $1 ** Advert: $4- $+ , Contact $vcmp.name($1, $2) $+ !
      timer 1 10 set %advert off
    }
  }



!taxi Command for FBS Scripts.

  elseif ($3 == taxi) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    else {
      vcmp.say $1 ** Taxi Required: $vcmp.area($1, $2) - Caller: $vcmp.name($1, $2)
   



Here's a very simple Weed Growing System.

Commands: !growweed, !pickweed


  elseif ($3 == growweed) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    elseif (Weedfield !isin $FBS.Buildings(1, $2)) vcmp.msg $1 $2 You can only grow Weed in the Field.
    elseif ($readini(FBS.weed.ini,PLANTED,$vcmp.name($1, $2)) == Planted) vcmp.msg $1 $2 You are already growing Weed, wait till you pick then grow some more.
    else {
      vcmp.msg $1 $2 You are now growing Weed, wait till it grows.
      !writeini -n FBS.weed.ini PLANTED $vcmp.name($1, $2) Planted
      timer 1 60 vcmp.msg $1 $2 Your weed has Grown. Type !pickweed to pick it.
      !writeini -n FBS.weed.ini GROWN $vcmp.name($1, $2) Weedgrown
    }
  }
  elseif ($3 == pickweed) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 Must be logged in.
    elseif (Weedfield !isin $FBS.Buildings(1, $2)) vcmp.msg $1 $2 You Must be at the Field to Pick Weed.
    elseif ($readini(FBS.weed.ini,GROWN,$vcmp.name($1, $2)) == $null) vcmp.msg $1 $2 You must Grow your Weed first.
    else {
      vcmp.msg $1 $2 You have picked up your Units of Weed.
      !writeini -n FBS.weed.ini WEED $vcmp.name($1, $2) $calc($FBS.drugweed($1, $2) + 4)
      !remini -n FBS.weed.ini PLANTED $vcmp.name($1, $2)
      !remini -n FBS.weed.ini GROWN $vcmp.name($1, $2)
    }
  }


Weed Alias: alias FBS.drugweed !return $iif($readini(FBS.weed.ini,WEED,$vcmp.name($1, $2)),$v1,0)


You just need to set the Weedfield Coords in the FBS.Buildings.ini file and your are all set.
#5
Script Showroom / [CMD] - Wire Transfer Money
February 16, 2009, 04:10:02 PM
So what does this do?!?
- Wires Money from your Bank account to a specified players Bank account.


  elseif ($2 == !wire) {
    if ($vcmp.cmdcheck(!wire,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - $2 <name> <amount>
    elseif (%a == -1) vcmp.msg %id Invalid Name.
    elseif ($4 !isnum) vcmp.msg %id Invalid Amount.
    elseif (National Bank !isin $vcmp.area(%b)) vcmp.msg %id Must be at The Bank to Wire Transfer Money.
    elseif (. isin $4) || (- isin $4) vcmp.msg %id No Negative or Decimal Point allowed.
    elseif ($4 > $vcmp.bank(%b)) vcmp.msg %id You don't have this much in your Bank Account.
    else {
      vcmp.bank- %b $4
      vcmp.bank+ %a $4
      vcmp.msg %id You have Wired $ $+ $bytes($4,b) to $vcmp.name(%a) Bank Account.
     
    }
  }



Status: Untested.

Coming soon... Basic Cop System and Item Buying.
#6
mIRC/pawn Scripting / Animation ID's?
February 14, 2009, 08:44:52 PM
I have searched over Forum for the Animation ID's if that even exist, do anyone know where a list is and tells what The ID Animation Does?
#7
mIRC/pawn Scripting / Re: Setting Mini Map Icon Color
February 14, 2009, 07:30:12 PM
Quote from: thijn on February 13, 2009, 03:54:10 PM
If you have the new DLL (wich I thought argo have) You can do it with vcmp.setplayermarker <serverID> <playerID> <color ID>

For a list of colors: here

ahh cheers mate.
#8
Support / Re: need help very fast
February 13, 2009, 01:57:07 AM
I use - serverffs.com - Cheap, reliable and Support is great. 
#9
mIRC/pawn Scripting / Setting Mini Map Icon Color
February 13, 2009, 12:54:21 AM
My question is how do you change the color of the Dots you see on your Mini Map ingame?  Is this done through the Config File Or Script?  Help Appreciated.