Author Topic: How can I...  (Read 11667 times)

0 Members and 1 Guest are viewing this topic.

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
How can I...
« on: October 16, 2008, 06:52:56 pm »
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

Offline Chezor

  • Wiseguy
  • **
  • Posts: 90
  • RPG Planet Scripter
    • View Profile
    • RPG Planet
Re: How can I...
« Reply #1 on: October 16, 2008, 08:09:49 pm »
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..

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
Re: How can I...
« Reply #2 on: October 16, 2008, 08:26:38 pm »
Thanks! Im based on GUS too!

Cya, Knucis

Offline Chezor

  • Wiseguy
  • **
  • Posts: 90
  • RPG Planet Scripter
    • View Profile
    • RPG Planet
Re: How can I...
« Reply #3 on: October 17, 2008, 08:58:19 am »
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..

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: How can I...
« Reply #4 on: October 17, 2008, 12:34:49 pm »
:( i want that For WSV
Founder of [SAF]Clan

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: How can I...
« Reply #5 on: October 17, 2008, 12:47:12 pm »
Thats easy,
Code: [Select]
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
}

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: How can I...
« Reply #6 on: October 17, 2008, 01:19:26 pm »
hey Thijin do u know a file in which there are commands like WS.setpickup WSV.setvehicle status etc....?
Founder of [SAF]Clan

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: How can I...
« Reply #7 on: October 17, 2008, 05:12:19 pm »
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?

Offline Chezor

  • Wiseguy
  • **
  • Posts: 90
  • RPG Planet Scripter
    • View Profile
    • RPG Planet
Re: How can I...
« Reply #8 on: October 17, 2008, 09:40:23 pm »
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..

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: How can I...
« Reply #9 on: October 17, 2008, 11:43:00 pm »
:p yea, Can u explane a little but more?? ;D :D

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: How can I...
« Reply #10 on: October 18, 2008, 01:26:34 pm »
nvm leave it......

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

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
Re: How can I...
« Reply #11 on: October 18, 2008, 01:31:44 pm »
yeap... !ap [id] I think...

Cya, Knucis

Offline gamyster

  • Wiseguy
  • **
  • Posts: 61
    • View Profile
Re: How can I...
« Reply #12 on: October 18, 2008, 01:39:44 pm »
NOPE it aint :(
Founder of [SAF]Clan

Offline Knucis

  • Wiseguy
  • **
  • Posts: 82
  • u wot m9
    • View Profile
Re: How can I...
« Reply #13 on: October 18, 2008, 01:47:55 pm »
hmmm... Ask windlord... Pm him

Cya, Knucis

Offline evil_night13

  • Wiseguy
  • **
  • Posts: 61
  • i are a normal person like you
    • View Profile
    • web hosting
Re: How can I...
« Reply #14 on: October 18, 2008, 03:25:04 pm »
in wsv0.3 !ap [id] works!

!ap health - health pickup is added

to delete !dp [id]