[TUTROIAL]How to save your coords

Started by ForOver, Nov 14, 2017, 01:00 PM

Previous topic - Next topic

ForOver

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.

!


Discord: zeus#5155

ForOver

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 -_-

!

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.

Discord: zeus#5155

Retard

#4
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