Author Topic: Help in VC-MP mIRC Admin.  (Read 4075 times)

0 Members and 1 Guest are viewing this topic.

Offline Devian

  • Wiseguy
  • **
  • Posts: 92
    • View Profile
Help in VC-MP mIRC Admin.
« on: April 07, 2010, 09:55:57 pm »
well..
i use 'New VC-MP mIRC Admin'

and i create this cmd.

  elseif ($3 == gravity) {
    vcmp.setgravity $1 30
  }

well this cmd works fine.
but i want in game change the value.
Ex: !gravity <value>
not everytime gravity 30

can someone help-me?
thanks!.

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: Help in VC-MP mIRC Admin.
« Reply #1 on: April 07, 2010, 10:09:32 pm »
* Boss slaps Thijn
See, that's what I was talking about. Some unrelated symbols, unnamed variables... Programming cannot possibly be more fun!

2 Devian:
Anyway, I assume to enter the value yourself you would need to have
Code: [Select]
 elseif ($3 == gravity) {
    vcmp.setgravity $1 $4
  }

Offline Devian

  • Wiseguy
  • **
  • Posts: 92
    • View Profile
Re: Help in VC-MP mIRC Admin.
« Reply #2 on: April 07, 2010, 10:15:01 pm »
Thanks a lot Boss!.
was trying with $3

Offline gta5

  • Wiseguy
  • **
  • Posts: 54
    • View Profile
    • No1 Hosting
Re: Help in VC-MP mIRC Admin.
« Reply #3 on: April 07, 2010, 10:42:21 pm »
lol $3 is the command itself $4 is the value after the command. If u want a third valuse it wud be $5 etc.

Offline Devian

  • Wiseguy
  • **
  • Posts: 92
    • View Profile
Re: Help in VC-MP mIRC Admin.
« Reply #4 on: April 07, 2010, 10:53:07 pm »
and how i do to Put Player in Vehicle ?
if players type: !x
put player in vehicle <vehicle,Model>

something :)

Thanks:)

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: Help in VC-MP mIRC Admin.
« Reply #5 on: April 07, 2010, 11:31:53 pm »