• Welcome to Vice City Multiplayer.
 

gotoloc commands

Started by [CB]CsabaBad, November 20, 2008, 07:26:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[CB]CsabaBad

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

Knucis

Errr... For WSV, SANSAN, GUS or FBS??


Knucis

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 ;)