Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: capitanazo on July 16, 2007, 05:35:55 am

Title: how to create a / command ? and...
Post by: capitanazo 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
Title: Re: how to create a / command?
Post by: Tommis 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
Title: Re: how to create a / command ? and...
Post by: capitanazo on July 16, 2007, 07:29:05 am
using this :elseif ($2 == hi) vcmp.say hi:
create replace ! for /?
bye
Title: Re: how to create a / command ? and...
Post by: Tommis 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
Title: Re: how to create a / command ? and...
Post by: capitanazo 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?