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

#1
mIRC/pawn Scripting / Re: Scripter wanted
September 16, 2008, 08:42:06 AM
Wait to afternoon, I will relase my script based on gus wich probably contains all commands wich you want.
#2
Punjabi, but some people prfere to have satisfaction of script coded they-self.

Badboy, I have never used hashes, but that commands wich you want, you can have without it.
#3
mIRC/pawn Scripting / Re: Question
September 09, 2008, 02:37:58 PM
So edit what I did, I thought you're using gus.
#4
mIRC/pawn Scripting / Re: Script Vcmp.data - Area
September 08, 2008, 07:44:10 PM
Yes, I think coords of corrners should be enaguh, you can add hight coord too.
#5
mIRC/pawn Scripting / Re: Question
September 08, 2008, 11:59:38 AM
My car lock:

Quoteelseif ($2 == !lockcar) || ($2 == !pmlockcar) {
    if ($vcmp.cmdcheck(!lockcar,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Invalid command useage
    elseif ($3 !isnum) vcmp.msg %id Error - Invalid Vehicle ID
    elseif ($vcmp.carowner($3) != %name) vcmp.msg %id You aren't owner of this vechicle
    else {
      vcmp.lockdoors $3 4
      vcmp.msg %id You have just locked your vehicle
    }
  }

Quoteelseif ($2 == !unlockcar) || ($2 == !pmunlockcar) {
    if ($vcmp.cmdcheck(!unlockcar,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Invalid command useage
    elseif ($3 !isnum) vcmp.msg %id Error - Invalid Vehicle ID, $2 <car id>
    elseif ($vcmp.carowner($3) != %name) vcmp.msg %id You aren't owner of this vechicle
    else {
      vcmp.lockdoors $3 0
      vcmp.msg %id You have just unlocked your vehicle
    }
  }
Quote
alias vcmp.lockdoors dll rcondll.dll RconCommand set 3 $1-

Cars count:

1. Crate file vcmp.car.ini
2. Make there [COUNT]
3. Under it write All=how much vehicles are on map
4. Under it write Forsale=how much vehicles are on map

Quotealias vcmp.forsale !return $iif($readini(vcmp.cars.ini,COUNT,Forsale),$v1,0)
Quotealias vcmp.allcars !return $iif($readini(vcmp.cars.ini,COUNT,All),$v1,0)

Quoteelseif ($2 == !forsale) {
    if ($vcmp.cmdcheck(!mycars,%id) == fail) !halt
    else {
       vcmp.msg %id Total vehicles: $vcmp.allcars For sale vehicles: $vcmp.forsale
    }
  }

To buycar add:

Quote!writeini -n vcmp.cars.ini COUNT Forsale $calc($vcmp.forsale - 1)

To sellcar add:

Quote!writeini -n vcmp.cars.ini COUNT Forsale $calc($vcmp.forsale +1)

If wouldn't work add change $vcmp.forsale to $vcmp.forsale(%b) and same with $vcmp.allcars

NOTE: Untested
#6
mIRC/pawn Scripting / Re: Question
September 07, 2008, 09:23:43 PM
What script are you basing on? I will do it in defiance of my-self and make it for you if you need it for gus.
#7
mIRC/pawn Scripting / Re: Distance-PM
September 07, 2008, 08:56:34 PM
And what's distance alias?
#8
mIRC/pawn Scripting / Re: Question
September 07, 2008, 08:55:47 PM
Nope, it won't work.
#9
mIRC/pawn Scripting / Re: Question
September 07, 2008, 06:36:46 PM
1* make it your self, you have example with lockcar for wsv in next topic

2* Count how many cars you have in map, write ti in some ini file like cars.ini
[CARS]
total=177
forsale=177

and add to buycar command line wich - 1 from forsale and to sell command + 1 to forsale, then make alias wich read from file how much cars are for sale and how much are total

#10
$1 - player id/nick
hadd - adding sth to hash table
!halt - stop cmd
#11
mIRC/pawn Scripting / Re: 1 question
September 06, 2008, 02:27:27 PM
If it's good why you don't comply to it?

QuoteAnd btw punjabi see you gave the scripts but still Intruder didnt understood what will be in INI files

It's same when you want script, you don't understand it...
#12
mIRC/pawn Scripting / Re: Help in !car for sansan v3
September 05, 2008, 04:12:18 PM
Omg... lazy sucker.... go to other forum man... test it your self fuckin idiot. You do nothing yourself, I don't know what think rest of users but I have you too much. And stop using fuckin text: Thanks Punjabi_goli, everyone knows taht is you because a) you're idiot b) you have your nickname next to your post.
#13
mIRC/pawn Scripting / Re: Props Script
September 04, 2008, 07:44:35 PM
KISS.. do not do that... he even dunno how to make basic command. Punjabi.. you have cars script so now try make prop script your self. Write on forum what did you do if doesn't work and then we will repair it.

PS:

I can post 9999999999 in your stupid topics You think: "mom..... do it instead of me... I'm too lazy... I don't want try... I prefere to get done script"
#14
mIRC/pawn Scripting / Re: Help in !car for sansan v3
September 04, 2008, 04:04:10 PM
It's my version for gus, wich show:

If car is bought and shared: name id owner sharer

If car is bought and not shared: name id owner

If car isn't bought: name id owner (for sale) price

   elseif ($2 == !car) {
    if ($vcmp.cmdcheck(!car,%id) == fail) !halt   
    elseif (%a == -1) vcmp.msg %id  Absent ID/Name
    elseif ($vcmp.vehicle(%a,id) == 0) vcmp.msg %id  $vcmp.name(%a) is currently on foot!
    elseif ($vcmp.carowner($vcmp.vehicle(%a,id)) == For Sale) vcmp.msg %id Name: $+($chr(91),$vcmp.carname($vcmp.vehicle(%a,id)),$chr(93)) ID: $+($chr(91),$vcmp.vehicle(%a,id),$chr(93))  Price: $+($chr(91),$vcmp.vehiclecost($vcmp.vehicle(%a,id)),$chr(93))
    elseif ($vcmp.carsharer($vcmp.vehicle(%a,id)) != None) vcmp.msg %id Name: $+($chr(91),$vcmp.carname($vcmp.vehicle(%a,id)),$chr(93)) ID: $+($chr(91),$vcmp.vehicle(%a,id),$chr(93)) Owner: $+($chr(91),$vcmp.carowner($vcmp.vehicle(%a,id)),$chr(93)) Shared: $+($chr(91),$vcmp.carsharer($vcmp.vehicle(%a,id)),$chr(93))
    elseif ($vcmp.carowner($vcmp.vehicle(%a,id)) != For Sale) vcmp.msg %id Name: $+($chr(91),$vcmp.carname($vcmp.vehicle(%a,id)),$chr(93)) ID: $+($chr(91),$vcmp.vehicle(%a,id),$chr(93)) Owner: $+($chr(91),$vcmp.carowner($vcmp.vehicle(%a,id)),$chr(93))
    else {
    vcmp.msg %id Car Info
   }
}
#15
mIRC/pawn Scripting / Re: Bank Killing
September 04, 2008, 12:50:17 PM
Punjabi! Do something your self... you got much examples... try repair it... You all time want sometginh... it's too anoying..