• 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

Topics - Tamas

#1
ShowRoom (pawn) / GUPS 1.16a
January 17, 2010, 03:15:44 PM
General Use Pawn Script
Features:


  • Registration System
  • Admin System
  • Vehicle System
  • Property System

The whole script is based on text files  :P
All admin commands located in the "Commands.ini" file.

If you find any bugs feel free to fix or report it to me ;D
Special thanks to the following peoples:


  • DracoBlue(plugins)
  • Falcon(Developer) ;D
  • Xerxes(plugins)
  • PlayerX(Functions)
  • Boss(PSA)

Current Version: 1.16a
Mirror#1: Download
#2
mIRC/pawn Scripting / VCMP 0.3z Team-Colours
March 24, 2009, 02:24:02 PM
if someone need it  ;)


#3
mIRC/pawn Scripting / Counting
November 19, 2008, 04:58:25 PM
Somebody knows how can i count a specific name value inside the ini file?
For example if the ini file containes 200 names and i want to count only the xy* name, than return the total value of that names.
#4
mIRC/pawn Scripting / Bug in VRocker's DLL
October 27, 2008, 03:59:46 PM
I made a radaroff command with VRocker's dll, but i think this section containes some bugs, because if i specify a players id than it will remove his/her radar icon.
But if i specify another id or name than still removes the same persons's radar icon from the map.

Heres my code:

Quoteelseif (pmarker iswm $3) {
     WSV.cmdlevelcheck $1-
     if (!$4) WSV.msg $2 Syntax: /c pmarker + or - <name/id>
     if ($4 == +) {
      if ($6) {
      if ($6 isnum) {
      if ($WSV.pconnected($5)) {
        WSV.removemarker $5
        WSV.setplayermarker $WSV.id($5) $6
        WSV.msg $2 $WSV.name($5) $+ 's Radar Marker has been changed to: $chr(91) $6 $chr(93)
        }
        else WSV.msg $2 Error: Invalid Player
        }
        else WSV.msg $2 Error: Invalid Syntax! Value must be a number.
        }
        else WSV.msg $2 Syntax: /c pmarker < + > <name/id>
    }
    elseif ($4 == -) {
      if ($WSV.pconnected($5)) {
        WSV.removemarker $5
        WSV.msg $2 $WSV.name($5) $+ 's Radar Marker has been dleted.
        }
        else WSV.msg $2 Error: Invalid Player
      }
    }

VRocker, it is a bug or i made something wrong?
#5
mIRC/pawn Scripting / Question about VRocker's DLL
October 11, 2008, 09:54:45 PM
I have a problem with VRocker's DLL
I made a command that checks the currently game time:

Quoteelseif (gametime == $3) {
WSV.say Current Game Time: $chr(91) $WSV.hour $+ : $+ $WSV.minute $chr(93)

But its not showing the real time:
Quote<~[SkT]Tamas> !settime 15:45
<&Robocop> Admin [SkT]Tamas Changed time to: [ 15:45 ]
<~[SkT]Tamas> !gametime
<&Robocop> Current Game Time: [ 15:52 ]
<~[SkT]Tamas> !settime 12:20
<&Robocop> Admin [SkT]Tamas Changed time to: [ 12:20 ]
<~[SkT]Tamas> !gametime
<&Robocop> Current Game Time: [ 12:21 ]

+I have another question about the DLL's setmarker, removemarker and putmarker functions.

It is possible to set a player's marker to a Sunshine-Autos icon for example?
Because i know this is possible in Bakasan's DLL.
+How can i add a marker to the map when iam currently ingame?
I use this function:

Quotealias WSV.onjoin {
WSV.setmarker 26 -1022.3336 -853.7759 24.3164

But it is possible to add a marker when iam allready connected to the server?
For example !addmarker 25 <coord> --> than that specific marker appear on the map.

Regards  :)
#6
mIRC/pawn Scripting / Function Qestion
September 12, 2008, 05:01:34 PM
Hello

Ive seen theres some commands (wasted with green announce at the bottom of the right, blackbox when you buy a weapon at ammu-nation, and such others..)
I mean the 0.3z vcmp allready conataines these stuffs, but the dlls not, so i have no choice to put these on?
#7
mIRC/pawn Scripting / Question about DLL
September 05, 2008, 06:05:40 PM
Hello
I have a question abour VRocker's new dll. I want to using the setmarker function:

    elseif (putmarker iswm $3) {
          WSV.cmdlevelcheck2 $1-
          WSV.setmarker 25 -1022.8901 -866.6465 12.7784
          WSV.say TESTING

But this dont want to work. The new icon not appear in the map, i don't know whats the problem.
#8
mIRC/pawn Scripting / Server config.ini
August 29, 2008, 12:24:59 AM
Hello

I need some help about the vcmp server config.ini.
If i want to add some various vehicle: Caddy, Hotring, Banshee, etc. the game freeze when i start it.

Code:
Vehicle = 187 -992.8995 -890.0267 12.6641 43.3273 -1 -1 ; Caddy at Sunshine Autos next parking line

Any idea?
#9
mIRC/pawn Scripting / Mirc script
August 13, 2008, 11:11:28 PM
Hello

I have a hard question  :)
When i ban someone it susually write it to a txt file, i want to do when i type !bans automatically load up a site (banlist.ini in my ftp server)

But i dont know what is the mirc command for open up files from FTP servers.
Does anyone can help me, Adtec, Mattz?

Note: I using FTP server from my local PC so i dont need FTP writing, when a new ban become.
#10
mIRC/pawn Scripting / Auto Drown
August 10, 2008, 02:54:36 AM
I writed a little script to auto drown a player who kill at Sunshine but its not work:

Code:
Quote}
      if (Sunshine-Autos-Viceport-Vice-City-Mainland !isin $vcmp.playerarea(%id)) {
      vcmp.adminchat Admin auto drowned player: $+ $chr(91) %id $chr(93) Reason: $+ $chr(91) Killing at Sunshine-Autos $chr(93)
        vcmp.setloc %id -761.1595 -340.6097 9.9061

I puted that under vcmp.event.kill but its didnt do anything when somebody kill there.
Any idea?
#11
mIRC/pawn Scripting / Help in Syntax
August 07, 2008, 06:35:09 PM
Pls help me about sintax:
My ban command:

Quoteelseif (($2 == ban) && ($vcmp.loggedin($1) > 4)) {
    if ($vcmp.loggedin($1) < 10) vcmp.adminmsg $1 You are not an admin, so you hasn't got permission to ban someone!
    else {
     if ($vcmp.nameid($3) == $null) { vcmp.adminmsg $1 Error: Invalid ID/Name }
       else { vcmp.adminchat vcmp.ban $vcmp.nameid($3) $iif($4-,Reason:[ [ $4-,) ] ] | Kicking: $vcmp.hgetname($vcmp.nameid($3)) }
    }
  }
Thats work fine but i want to add a third if command too that says you cant ban higher level admin than you.

I tryed this:

Quoteelseif (($2 == ban) && ($vcmp.loggedin($1) > 4)) {
    if ($vcmp.loggedin($1) < 10) vcmp.adminmsg $1 You are not an admin, so you hasn't got permission to ban someone!
    else {
      if ($hget(vcmp,loggedin. $+ $1) < $hget(vcmp,loggedin. $+ $vcmp.nameid($3))) { vcmp.adminmsg $1 You can't ban someone higher level admin than you. }
    else }
     if ($vcmp.nameid($3) == $null) { vcmp.adminmsg $1 Error: Invalid ID/Name }
       else { vcmp.adminchat vcmp.ban $vcmp.nameid($3) $iif($4-,Reason:[ [ $4-,) ] ] | Kicking: $vcmp.hgetname($vcmp.nameid($3)) }
    }
  }

But when i go ingame the commands not work, i know thats about because i using wrong sintax in the third if command.
So how can i variable that 3rd if command to work fine?
#12
mIRC/pawn Scripting / .ini file writing
August 05, 2008, 05:06:08 PM
Hello doe anybody know how can i write ini file from ingame?

My Code:
Quoteelseif (($2 == !changecarowner) || ($2 == !cco)) {
     if ($hget(vcmp,loggedin. $+ %id) < 10) { vcmp.adminmsg %id You must be Admin Level 10 or higher to attempt this command. }
      else {
       !writeini vcmp.cars.ini OWNERS $vcmp.hgetcarid(%id) $vcmp.hgetname(%id)
      }
    }

Now i want to make if Example: i type:
!changecarowner 34=[SRS]Tamas

Than: the script write or repleace the 34=[SRS]Tamas section
Ex: cars.ini containes 34=somebody under [OWNERS] than i type !changecarowner 34=[SRS]Tamas it will repleace the "34=somebody" line in the file.

I dont know that command that put my "writes" to the file.
Maybe:   !writeini vcmp.cars.ini OWNERS $3- ?

Any idea?
#13
mIRC/pawn Scripting / Money Saving
August 04, 2008, 03:31:52 AM
I has a money saving error if somebody quit or crash or etc... and not deposit his money he will lost all i tryed this code but its not work:

Quoteon *:SIGNAL:vcmp.event.part:{
  !writeini vcmp.money.ini MONEY $2 $vcmp.hgetmoney($1)

And how can i do that if i rejoin or somebody than the server read the correct players money from that file?
#14
mIRC/pawn Scripting / Ban Error
August 03, 2008, 01:56:27 AM
My Ban Alias:

Quotealias vcmp.ban {
  vcmp.adminchat Admin:[ [ $vcmp.hgetname($1) ] ] Banned Player:[ [ $$vcmp.hgetname($vcmp.nameid($1)) ] ] $iif($2-, $2-,)
  !write vcmp.banned.txt Admin: $vcmp.hgetname($1) Banned: $vcmp.hgetname($vcmp.nameid($1)) IP: $vcmp.hgetip($vcmp.nameid($1)) $iif($2,$2-,)
  .timer. $+ $$vcmp.nameid($1) $+ .ban -m 1 250 vcmp.command ban $$vcmp.nameid($1)
}

Code:
Quoteelseif (($2 == ban) && ($vcmp.loggedin($1) > 4)) {
    if ($vcmp.nameid($3) == $null) vcmp.adminmsg $1 Error: Invalid ID.
    else {
      if ($hget(vcmp,loggedin. $+ $1) < $hget(vcmp,loggedin. $+ $vcmp.nameid($3))) { vcmp.adminmsg $1 You can't ban someone higher level admin than you... | vcmp.kick $1 }
       else { vcmp.adminchat Kicking $vcmp.hgetname($vcmp.nameid($3)) | vcmp.ban $vcmp.nameid($3) $iif($4-,Reason:[ [ $4-,) ] ] }
    }
  }

The problem is when i type /c ban goldkinght it says:
<@BootRobocop> Admin:[ goldkinght ] Banned Player:[ goldkinght ] Reason:[ test ]

I want to change to this format:
<@BootRobocop> Admin:[ [SRS]Tomi ] Banned Player:[ goldkinght ] Reason:[ test ]
Dont know why its showing the banned person name in the  Admin: section.
#15
mIRC/pawn Scripting / HP Script
August 02, 2008, 02:53:58 AM
Does anybody know how the vcmp.sethp command work?
Cuz the !setcarhp function not work too.
Quotevcmp.sethp %id 100
Its changing the health but how can i do it if i want to change the players HP manually Example:

!sethp Tomi 89

#16
mIRC/pawn Scripting / Script Help
July 27, 2008, 08:35:13 PM
Hi
This is my transfer script:

[/quote] elseif ($2 == !testgoto) {
      if ($hget(vcmp,loggedin. $+ %id) < 10) { vcmp.adminmsg %id You must be Admin Level 10 or higher to attempt this command. }
      else {
        if ($vcmp.nameid($3) == $null) vcmp.adminmsg %id Error: Invalid ID.
        else {
          if ($hget(vcmp,loggedin. $+ %id) < $hget(vcmp,loggedin. $+ $vcmp.nameid($3))) { vcmp.adminmsg %id You can't teleport someone higher level than you... }
          else {
             vcmp.setloc %id $vcmp.hgetpos.x($3) $vcmp.hgetpos.y($3) $vcmp.hgetpos.z($3) 0
             vcmp.adminchat Transfering:[ [ $vcmp.hgetname(%id) ] ] to:[ [ $vcmp.hgetname($3) ] ]
}
}
[/quote]

I want to do that when i type !testgoto --> i can give the player Name (not the ID only.) If i give examp: !testgoto 3 its work.
But in this format: !testgoto Tomi not .
Any idea how can i use this script with name variables too?

Tam
#17
mIRC/pawn Scripting / Gametext Script?
July 22, 2008, 11:03:35 PM
Hello

Does anyone know the gametext script, i mean that script when i type "Hello" than all players will be see this message in the center of the screen with example pink color, like the killingspree" message.