Author Topic: how to create a / command ? and...  (Read 5309 times)

0 Members and 1 Guest are viewing this topic.

Offline capitanazo

  • Street Thug
  • *
  • Posts: 36
  • Chilean vcmp Master!
    • View Profile
how to create a / command ? and...
« on: July 16, 2007, 05:35:55 am »
define functions for pickups example money for take a red box pickups?
its posibble add objects?
its posibble create a  checkpoint?
any library or include of mirc script?
bye
« Last Edit: July 16, 2007, 07:19:52 am by capitanazo »

Offline Tommis

  • VC:MP Beta Tester (inactive)
  • Wiseguy
  • *
  • Posts: 56
    • View Profile
Re: how to create a / command?
« Reply #1 on: July 16, 2007, 07:20:15 am »
Hey,

Well, you need to add in a signal for when someone types in the command, but other than that, under that signal, it will be just like any other command. An example.

Code: [Select]
elseif ($2 == hi) vcmp.say hi
Cya,
Tommis

Offline capitanazo

  • Street Thug
  • *
  • Posts: 36
  • Chilean vcmp Master!
    • View Profile
Re: how to create a / command ? and...
« Reply #2 on: July 16, 2007, 07:29:05 am »
using this :elseif ($2 == hi) vcmp.say hi:
create replace ! for /?
bye

Offline Tommis

  • VC:MP Beta Tester (inactive)
  • Wiseguy
  • *
  • Posts: 56
    • View Profile
Re: how to create a / command ? and...
« Reply #3 on: July 16, 2007, 07:33:57 am »
Hello,

Either you didnt read atall what i said above, or as i predict, you did not understand it. Easiest method, please refer to my scripts. They are made for vcmp, and you can understand more from there.

Cya,
Tommis

Offline capitanazo

  • Street Thug
  • *
  • Posts: 36
  • Chilean vcmp Master!
    • View Profile
Re: how to create a / command ? and...
« Reply #4 on: July 16, 2007, 07:58:27 am »
sorry i am not god read in english sorry  :-\ thanks and bye
and.. ints possible add objects?
« Last Edit: July 16, 2007, 08:05:09 am by capitanazo »