Vice City: Multiplayer

VC:MP Discussion => Support => Tutorials => Topic started by: ForOver on Nov 14, 2017, 01:00 PM

Title: [TUTROIAL]How to save your coords
Post by: ForOver on Nov 14, 2017, 01:00 PM
so when 0.3 closed, on 0.4 there is no save function
use this way to add custom cars's location
function onPlayerCommand( player, cmd, text )
{
  if ( cmd == "mypos" )
  {
    MessagePlayer( " [#ffffff]Pos X " + player.Pos.x + ", Pos Y " + player.Pos.y + ", Pos Z " + player.Pos.z , player );
  }
}
Copy this, then add a text in ur server folder
Open Server.conf text file
copy the vehicle you like then modify custom car id, then copy the coord
SO THE POS OF CUSTOM VEHICLE IS READY!
enjoy.
Title: Re: [TUTROIAL]How to save your coords
Post by: ! on Nov 15, 2017, 09:39 AM
Wow best useless tutorial ever.
Title: Re: [TUTROIAL]How to save your coords
Post by: ForOver on Nov 15, 2017, 12:15 PM
Quote from: zeus on Nov 15, 2017, 09:39 AMWow best useless tutorial ever.
if u don't like the way then don't post -_-
Title: Re: [TUTROIAL]How to save your coords
Post by: ! on Nov 16, 2017, 08:32 AM
Quote from: ForOver on Nov 15, 2017, 12:15 PMif u don't like the way then don't post -_-
Noone likes the way you have done.
Title: Re: [TUTROIAL]How to save your coords
Post by: Retard on Feb 13, 2018, 10:04 AM
There wasnt any use of this.It is in the wiki
http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Pos
and  noobs who will copy paste it exactly will spam this topic. use // for comments
use else if ( cmd == "mypos" ) because people will copy this after  cmd + it's directly copy pasted from the wiki