Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: [CB]CsabaBad on November 20, 2008, 09:26:56 pm

Title: gotoloc commands
Post by: [CB]CsabaBad on November 20, 2008, 09:26:56 pm
Hy!
mindt we know it they are good scriptelők who can write scripts
I am not on top with a word unfortunately I ask help of you script ointments the gotolocos commandban who can help I wait for his answer
Title: Re: gotoloc commands
Post by: Knucis on November 20, 2008, 10:38:32 pm
Errr... For WSV, SANSAN, GUS or FBS??
Title: Re: gotoloc commands
Post by: [CB]CsabaBad on November 22, 2008, 11:06:34 pm
WSV
Title: Re: gotoloc commands
Post by: Knucis on November 22, 2008, 11:59:30 pm
Code: [Select]
elseif ($3 == saveloc) {
  if ($4) {
    writeini -n " $+ $scriptdirSavedLocs.ini" SavedLocs $4 $WSV.location($2)
    WSV.say New Location saved by $WSV.name($2) at $4
  }
  else WSV.msg $2 Please type a name after !saveloc
}
elseif ($3 == gotoloc) {
  if ($readini(" $+ $scriptdirSavedLocs.ini",SavedLocs,$4)) {
    WSV.setlocation $2 $readini(" $+ $scriptdirSavedLocs.ini",SavedLocs,$4)
    WSV.msg $2 Taking you to $4
  }
  else WSV.msg $2 Invalid Location
}
Next time search in the forum ;)
Title: Re: gotoloc commands
Post by: [CB]CsabaBad on November 23, 2008, 01:32:03 am
Thx