• Welcome to Vice City Multiplayer.
 

How can I...

Started by Knucis, October 16, 2008, 04:52:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Knucis

How can I add a cmd when i pickup a Pickup or something...

I was thinking for example:
*[PBK]Knucis picked up a Pickup ID:....
>> pm: You pickup a teletransport pickup! I will transport you to [......]

Then you go to that place...
Please help!

Cya, Knucis

Chezor

General Use Scripts [Based]...

on *:SIGNAL:vcmp.pickup:{
var %name = $vcmp.name($1)
var %name2 = $replace($replace($vcmp.name($1),[,~),],~)
var %id = $1

elseif ($2 == <pikup_id>) {
vcmp.msg %id You pickup a teletransport pickup! I will transport you to [place]
vcmp.setlocation %a $vcmp.axis.getloc(<place-name-here>) 
}

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

Knucis

Thanks! Im based on GUS too!

Cya, Knucis

Chezor

Quote from: Knucis on October 16, 2008, 06:26:38 PM
Thanks! Im based on GUS too!

Cya, Knucis
you are based on GUS  :o or your scripts are lol  :P

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

gamyster

Founder of [SAF]Clan

thijn

Thats easy,

on *:SIGNAL:WSV.pickuphit: {
elseif ($3 == <pickup_ID>) {
WSV.msg $2 You pickup a teletransport pickup! I will transport you to [place]
WSV.setlocation $2 X Y Z 0
}


gamyster

hey Thijin do u know a file in which there are commands like WS.setpickup WSV.setvehicle status etc....?
Founder of [SAF]Clan

thijn

Quote from: gamyster on October 17, 2008, 11:19:26 AM
hey Thijin do u know a file in which there are commands like WS.setpickup WSV.setvehicle status etc....?
What do u mean?
U mean the WSV.mrc file?


Chezor

Quote from: gamyster on October 17, 2008, 11:19:26 AM
hey Thijin do u know a file in which there are commands like WS.setpickup WSV.setvehicle status etc....?

lol im also confused by this question  :P

Scripts: Fuel system in vehicles, Speedometer, Spawnback, Improved Copwork, Improved Jailing, Improved phone with sms, and many more. Coming soon..

thijn

:p yea, Can u explane a little but more?? ;D :D


gamyster

nvm leave it......

Is there any cmd made in WSV that !setpickup <NUMBER>
?
Founder of [SAF]Clan

Knucis

yeap... !ap [id] I think...

Cya, Knucis

gamyster

Founder of [SAF]Clan

Knucis

hmmm... Ask windlord... Pm him

Cya, Knucis

evil_night13

in wsv0.3 !ap [id] works!

!ap health - health pickup is added

to delete !dp [id]