Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Knucis 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
-
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>)
}
-
Thanks! Im based on GUS too!
Cya, Knucis
-
Thanks! Im based on GUS too!
Cya, Knucis
you are based on GUS :o or your scripts are lol :P
-
:( i want that For WSV
-
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
}
-
hey Thijin do u know a file in which there are commands like WS.setpickup WSV.setvehicle status etc....?
-
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?
-
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
-
:p yea, Can u explane a little but more?? ;D :D
-
nvm leave it......
Is there any cmd made in WSV that !setpickup <NUMBER>
?
-
yeap... !ap [id] I think...
Cya, Knucis
-
NOPE it aint :(
-
hmmm... Ask windlord... Pm him
Cya, Knucis
-
in wsv0.3 !ap [id] works!
!ap health - health pickup is added
to delete !dp [id]
-
in wsv0.3 !ap [id] works!
!ap health - health pickup is added
to delete !dp [id]
Yeap im testing now and it works! I dunno why doesnt work for you gamyster...
-
oh thanx!
-
oh thanx!
np! glad i could help u! :D
-
:( the WSV PICKUP TELELPORT aint working :(
i placed it here :( please help to correct
elseif (buyprop* iswm $3) {
if ($4) WSV.buyprop $2 $4
else WSV.msg $2 Please type !buyprop <propid>
}
elseif (sellprop* iswm $3) {
if ($4) WSV.sellprop $2 $4
else WSV.msg $2 Please type !sellprop <propid>
}
elseif (shareprop* iswm $3) {
if ($5) WSV.shareprop $2 $4 $5
else WSV.msg $2 Please type !shareprop <propid> <nick>
}
elseif (delshareprop* iswm $3) {
if ($5) WSV.delshareprop $2 $4 $5
else WSV.msg $2 Please type !delshareprop <propid> <nick>
}
elseif (myprop* iswm $3) {
if (!$4) && ($2 < %maxplayers) WSV.say $WSV.myprops($2)
else {
if ($WSV.pass($4)) WSV.say $WSV.myprops($4)
elseif ($WSV.pconnected($4)) WSV.say $WSV.myprops($4)
else WSV.say ** $4 is not a registered nick-name
}
}
elseif (propspawn* iswm $3) WSV.propspawn $1-
elseif (gotoprop* iswm $3) WSV.gotoprop $1-
elseif ($2 < 100) WSV.msg $2 Invalid Command
}
elseif ($2 < 100) WSV.msg $2 Invalid/Login-Only Command
}
on *:SIGNAL:WSV.pickuphit: {
elseif ($3 == 508) {
WSV.msg $2 You pickup a teletransport pickup! I will transport you to Upside
WSV.setlocation $2 -868.671265 -116.157364 11.100804
}
-
try to place it else where in the middle, the place u pasted is outside the srcipt(almost), for me heal didnt work , i also pasted there, so try to paste in the middle, heal works for me now :D
-
If it's the top one under the on "on *:SIGNAL:WSV.pickuphit: {" then make sure that it is an "if" not an "elseif"
-
Replace this..
on *:SIGNAL:WSV.pickuphit: {
if ($4 == 406) || ($4 == 407) { WSV.respawnpickup $3 | WSV.propinfo $2 $3 }
elseif ($4 == 382) { WSV.respawnpickup $3 | WSV.endrace $1- }
else { WSV.msg $2 Pickup ID: $3 $+ , Pickup Type: $4 }
}
With this one..
on *:SIGNAL:WSV.pickuphit: {
if ($4 == 406) || ($4 == 407) { WSV.respawnpickup $3 | WSV.propinfo $2 $3 }
elseif ($4 == 382) { WSV.respawnpickup $3 | WSV.endrace $1- }
else { WSV.msg $2 Pickup ID: $3 $+ , Pickup Type: $4 }
}
elseif ($3 == 508) {
WSV.msg $2 You pickup a teletransport pickup! I will transport you to Upside
WSV.setlocation $2 -868.671265 -116.157364 11.100804
}
Cya
Punjabi_goli ;)
-
didnt work punja
-
If u dont know anything plz dont abuse anyone by saying that ur command didnt work and from now plz stop dming with me i am fed up from u ..i am helping u but u dont know anything about WSV then i cant do anything thats it.. :(
-
If u dont know anything plz dont abuse anyone by saying that ur command didnt work and from now plz stop dming with me i am fed up from u ..i am helping u but u dont know anything about WSV then i cant do anything thats it.. :(
Yeap... But dont start flamming you two...
Gamyster try to search in he scripts a text that means: on *:SIGNAL:WSV.pickuphit: {
And put the script there...
Cya, Knucis
-
so punjabi what u mean that ill always say like THAT "OH THIS CMD works"you want me to say yes in all ur Dumb scripts? and this is not called abusing ok! I just say that that cmd didnt work thats all and u did spam because ur a 10 year old kid.
-
Ok... STOP IT!
This is a Mirc Scripting topic so pls dont Spam, Flam, etc...
This is suposed to be about Pickups nothing else. Pls you two are... Arghhh.. Stop Flamming...
Topic LOCKED bcuz of the spamming