Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: blade1994 on November 18, 2008, 08:06:09 pm
-
I dont kwon of this script its hard to get.. but i wanna teleport script. Like if a guy type !race, there go a place witch cars for race or !airport. there go to airport
or !freefall there go high-sky
-
For which script GUS,WSV OR FBS... :P
-
WSV 0.3
-
Heres the small example for u ....I hope others 2 u will get solved by You.. :P
elseif ($3 == airport) {
WSV.msg $2 Taking you to the International Airport..
.timer 1 2 WSV.setlocation $2 -1463.359497 -858.807983 14.878179 0
}
Type !airport And it will take u to the airport thats all..Enjoy..
Googly Woogly Woosh
Amenine
-
Wow, nice! thanks, I go try it
-
Heres the small example for u ....I hope others 2 u will get solved by You.. :P
elseif ($3 == airport) {
WSV.msg $2 Taking you to the International Airport..
.timer 1 2 WSV.setlocation $2 -1463.359497 -858.807983 14.878179 0
}
Type !airport And it will take u to the airport thats all..Enjoy..
Googly Woogly Woosh
Amenine
and this where let me be putting it in pls write it down the part thanks ahead Amenine
-
Nope ;D
Put it under commands like !getcar or what...just dont forget to close the brackets correctly.. ;)
-
Can you guys Find me one For GUSv9.0
-
Can you guys Find me one For GUSv9.0
Here is one
elseif ($2==!airport) {
vcmp.setlocation %id -1463.359497 -858.807983 14.878179 0
}
-
U were missing some details and plz provide place in between = and !airport..
elseif ($2 == !airport) {
vcmp.msg %id Taking you to the International Airport..
.timer 1 2 vcmp.setlocation %id -1463.359497 -858.807983 14.878179 0
}
Googly Woogly Woosh
Amenine
Have fun guys..
[off Topic]Knucis i found that you are the admin of Ultimate stunt server i want some help from u and if u too want to help me just PM me (Yes) than i will tell u my problem..Thanks
-
Thanks Guys Ill try it right now on my server ( Ultimate DM/stunt server (Jojo_boy) ) ;D
-
U were missing some details and plz provide place in between = and !airport..
elseif ($2 == !airport) {
vcmp.msg %id Taking you to the International Airport..
timer 1 2 vcmp.setlocation %id -1463.359497 -858.807983 14.878179 0
}
Googly Woogly Woosh
Amenine
Have fun guys..
[off Topic]Knucis i found that you are the admin of Ultimate stunt server i want some help from u and if u too want to help me just PM me (Yes) than i will tell u my problem..Thanks
What kind of help do you want?
-
Is there any reason why this wouldn't work?
}
elseif (%id == (!dmarena) || (
if ($vcmp.cmdcheck(!dmarena,%id) == fail) !halt
else {
vcmp.msg %id vcmp.msg %id Taking you to the Death Match arena...
.timer 1 2 vcmp.setlocation %id -1463.359497 -858.807983 14.878179 0
}
-
Look at this bit:
elseif (%id == (!dmarena) || (
First off your checking if the player id is (!dmarena, if should be $2 == !dmarena
Secondly why have you put || ( at then end? || = or and the bracket should be a curly brace like { not a bracket.
Fixed line would be:
elseif ($2 == !dmarena) {
Also make sure !dmarena is in your cmdlist for the cmdcheck
Oh and one more thing...
vcmp.msg %id vcmp.msg %id Taking you to the Death Match arena...
notice what your doing here? it wont stop it working but i think its best to be pointed out. you've done vcmp.msg %id twice, you only need it once
This should work aslong as theres nothing broken above these lines. Remember to check mircs status window for any major errors
-
It works now thank you VRocker.
My problem was little things like getting parameters mixed up and being careless.
Thank you.