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 - [AoD]NC

Pages: 1 ... 32 33 [34]
496
It's easy. I made it and i can say: it's really easy. Here some tips:
* if a player will be killed -> create money pickup
* if someone collect this pickup -> delete pickup & add X money

497
mIRC/pawn Scripting / Re: NEED HELP IN FBS!!!
« on: March 20, 2009, 06:08:38 pm »
Quote from: Doomer
but the props are still unknown are owned by vice city and cost 100$ and the Id is 40 - 43 . but the props have id's 1 - 4
Well, try to read...  http://forum.vicecitymultiplayer.com/index.php?topic=866.msg8672#msg8672

498
Support / Re: Requesting Help.
« on: March 16, 2009, 09:08:38 pm »
Here's my directory..
Anything wrong with it?
Hmm i don't see any mods installed, but u should know it, if u had installed once :P.
What version of GTA VC? 1.0 or 1.1? VCMP runs only with 1.0.

499
Support / Re: Requesting Help.
« on: March 15, 2009, 02:34:02 pm »
Any mods installed into the GTA VC folder? If yes, u must uninstall them :x.

500
Quote
That's right.
O ho hahaa i'm good  :D

Jail is simple. It's teleporting a player into a place and freezing him controls for f.e. 10 seconds.

FBS:
Code: [Select]
  elseif ($3 == jail) {
    if ($WSV.levels($4) > 4) wsv.msg $1 You need to be Admin level 5 or higher.
    elseif (!$4) wsv.msg $1 Error - Correct Syntax: /c $3 <Nick> <Reason>
    else {
      wsv.say ** Jailing player: $WSV.name($2) Reason: $5-
      WSV.setlocation $2 389.423 -507.512 9.396 0
      WSV.setcontrols $2 0
      timer 1 10 WSV.setcontrols $2 1
      timer 1 10 wsv.say ** Freeing $WSV.name($2) from jail
    }
  }

I don't know if i made this good :P. I used that $2 is the player name, if in WSV isn't $2 the player name, change it. And i don't know what with the reason for jailing.

Anyway the originally jail form FBS looks so:
Code: [Select]
  elseif ($3 == jail) {
    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 need to be at least level 5 to use this command.
    elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: /c $3 <Nick/ ID> <Reason>
    elseif ($vcmp.name($1, $FBS.ID($4)) == Unknown) vcmp.msg $1 $2 Error: Invalid Nick-Name
    else {
      vcmp.say $1 ** Admin $vcmp.name($1, $2) jailed:[ $vcmp.name($1, $FBS.ID($4)) $chr(93) Reason:[ $iif($5-,$v1,None) $chr(93))
      vcmp.setlocation $1 $FBS.ID($4) 389.423 -507.512 9.396 0
      vcmp.setcontrols $1 $FBS.ID($4) 0
      timer 1 60 vcmp.setcontrols $1 $FBS.ID($4) 1
      timer 1 60 vcmp.say $1 ** Freeing $vcmp.name($1, $fbs.id($4)) from jail
    }
  }

501
;o ok :D.

Heal in FBS with the WSV only for admin level 2 looks so:
Code: [Select]
  elseif ($3 == healall) {
      if ($WSV.levels($4) > 1) vcmp.msg $1 $2 You need to be Admin level 2 or higher.
    else {
      vcmp.say $1 ** Admin $vcmp.name($1, $2) healed everyone in the server
      var %a = 0
      while (%a <= %limit) {
        vcmp.sethealth $1 %a 100   
        !inc %a
      }
    }
  }
You must look if WSV has an alias vcmp.sethealth and vcmp.name [open the script in Notepad, Find Text and type vcmp.sethealth search, and then search after vcmp.name]. If u didnt find anything, probably u must change the vcmp.sethealth and vcmp.name into WSV aliases. I don't know WSV, but maybe it would be WSV.sethealth and WSV.name.

502
Maaan, thijn u are a pro scripter :D !
The rank system works great :D! I only changed some things:
Code: [Select]
vcmp.say $1 ** Our 3 Best Players:
vcmp.say $1 ** 1: %1n - %1k
vcmp.say $1 ** 2: %2n - %2k
vcmp.say $1 ** 3: %3n - %3k

And the command:
Code: [Select]
  elseif ($3 == top) {
    vcmp.getrank $1
  }

And with the skins... I think the commands was made for GUS :P and his old DLL. Well it doesn't work for me, i will try do something but for now i haven't any good idea  :-\

Maybe something like this?
Code: [Select]
If a player will spawn in a coordination from file spawns.ini -> then send pm You spawned at:

503
Hi ;). Im ill, but i need to have information's about something :).

1. Ranks
I want to make something like this, if u type f.e. !top the script will show the 3 best players, that killed the most other players :P.
The numbers of killed players r written in the file vcmp.stats.ini and looks like this:
Code: [Select]
[KILLS]
QQQQQ=7
EEEEE=5223
WTD=3
SOMEONE=63


2. Recognizing TeamID
Every player is in a team, and every team has a color like red or yellow. But is it possible that the script will recognize the Player's TeamID and do actions?
Like if a players has spawned with Team Color ID f.e. 11, he will be killed, and if someone will spawn as Team Color ID 10, he will be teleported to a location. Would this be possible?

3. Flying in-game
I know, it's a vcmp bug. U are going and then u fly in the air and can't stop. But can scripts do this too? In the last time i saw, that on my test server, where are other players testing the scripts, most of them after some time are flying in the air. Im too, but not so often ;p.

Thxx for any post here  :P

504
mIRC/pawn Scripting / Re: Add 3 simple commands (i think) to WSVv0.3
« on: March 10, 2009, 05:52:31 pm »
U know: some commands are in only for admins. Search in the MRC file commands, that are only for admin [like kicking players]. At the start of the command will be a script like this from FBS.

Mmm, i downloaded WSV, huh....
This is the parameter:
Code: [Select]
if ($WSV.levels($4) > 1)
So it should be:
Code: [Select]
  elseif ($3 == getall) {
    if ($WSV.levels($4) > 1) vcmp.msg $1 $2 You need to be Admin level 2 or higher. 
    else {
      vcmp.say $1 ** Warping:[ All players $chr(93) to:[ $vcmp.name($1, $2) $chr(93)
      var %a = 0
      while (%a <= %limit) {
        if ($vcmp.name($1, %a) != $vcmp.name($1, $2)) {
          vcmp.setlocation $1 %a $calc($vcmp.location($1, $2).x + 2) $vcmp.location($1, $2).y $calc($vcmp.location($1, $2).z - 1.12)   
          vcmp.msg $1 %a District:[ $+ $vcmp.area($1, $2) $+ $chr(93)
        }
        !inc %a
      }
    }
  }
I dont know WSV very well. Maybe instead of f.e. vcmp.say u have wsv.say? U need them to rescript it ;).

505
mIRC/pawn Scripting / Re: Add 3 simple commands (i think) to WSVv0.3
« on: March 10, 2009, 04:36:38 pm »
Getall on FBS looks so:
Code: [Select]
  elseif ($3 == getall) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 2.
    elseif ($FBS.Level($1, $2) < 2) vcmp.msg $1 $2 Error, You need to be at least level 2 to use this command. 
    else {
      vcmp.say $1 ** Warping:[ All players $chr(93) to:[ $vcmp.name($1, $2) $chr(93)
      var %a = 0
      while (%a <= %limit) {
        if ($vcmp.name($1, %a) != $vcmp.name($1, $2)) {
          vcmp.setlocation $1 %a $calc($vcmp.location($1, $2).x + 2) $vcmp.location($1, $2).y $calc($vcmp.location($1, $2).z - 1.12)   
          vcmp.msg $1 %a District:[ $+ $vcmp.area($1, $2) $+ $chr(93)
        }
        !inc %a
      }
    }
  }

I thought WSV is based on VRockers DLL, FBS is based on this too, so it should work noproblemo.

U need only to change this:
Code: [Select]
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 2.
    elseif ($FBS.Level($1, $2) < 2) vcmp.msg $1 $2 Error, You need to be at least level 2 to use this command. 
Change it to a WSV admin rule [only for admins with level 2 or higher]. I think there are in WSV also commands that are only for admins.

506
mIRC/pawn Scripting / Re: [help]Can some1 give Spidometer code?
« on: March 06, 2009, 06:45:36 pm »
I modified the sample script from rulk, it took an hour to do this. Well it works good.

Code: [Select]
on *:SIGNAL:vcmp.player.move:{
  if ($vcmp.vehicle($1, $2) > 0) {
    if ($vcmp.speed($1, $2) > 10) {
    vcmp.announce $1 $2                    ~o~ $round($calc($vcmp.speed($1, $2) * 3.1), 0) ~x~ kmh $chr(10)  $chr(10)
    }
  }
  else {
  }
  !.signal vcmp.playermove $1-
}

Where  is a special letter, that ur web-browser doesn't display ;p.

The original convert from MPS [?] to KMH => MPS * 3,6 = speed in KMH. I don't used 3,6, only 3,1. I even don't think, that a PCJ can have more than 200 KMH speed :D so i changed it.

I know, this script made by me is not 100% correctly ;) but
* it's only displaying if the player is sitting in a car [vehicle]
* and it's displaying only, if the player is driving faster than 30 km/h. I made this so, cause while a player enter a car, i made a announce, which displays the car health.

For all those, who hasn't a move signal: u can simply add them :). I'm using and modifying FBS, i haven't a MOVE signal there, but i created it and it works :).

Ah and my good question :D : i gotta a 1MBps internet connection. I don't think it's a slow connection, but the speedometer for 1 person is a long combination of commands... Will it lag  :P ?

507
mIRC/pawn Scripting / Re: Makers...
« on: March 04, 2009, 11:00:26 pm »
Ok big thxx to you  :)

Good idea with this marker & pickup thing  :D

So, if the vcmp.removemarker doesn't delete markers, for what is this command good?

508
mIRC/pawn Scripting / Makers...
« on: March 04, 2009, 06:03:28 pm »
Hi  ;)
Ok, here I gotta 3 questions about VCMP markers.

1. Deleting a marker
Let's say I've created a marker
Code: [Select]
vcmp.setmarker $1 9 361.73 -513.53 1.32[it's bellow the terrain so ppl can't see it, but it's only for the icon on the hud ;) ]

And how to delete it now? I've tried with
Code: [Select]
vcmp.removemarker $1
And

Code: [Select]
vcmp.removemarker $1 9
And this...

Code: [Select]
vcmp.removemarker $1 9 361.73 -513.53 1.32
I dont know how to delete this marker now  ::) . No one of this works.

2. Action with markers
I want to do smthnig like, if u enter the marker, it will do an action f.e. display a text. How to do this?

3. Markers=crash, lag?
The markers are shown only if u are logged or u login. Let's say 20 ppl join the server. And if everyone log-in, the script will make 20 markers? And is it possible, that so many markers could crash players or the server?

Thx for help  :D
[my 1st post here  8) ]

Pages: 1 ... 32 33 [34]