Player position

Started by Ksna, Jul 22, 2015, 04:00 PM

Previous topic - Next topic

Ksna

In 0.3 there was something like /s to save position of player and it will be written in text file. Please tell me how to get positions in 0.4and please don 't tell me to make a ini which save my position.
i was using trainer to save my loc and it takes lot of time

FarisDon

Quote from: Ksna on Jul 22, 2015, 04:00 PMIn 0.3 there was something like /s to save position of player and it will be written in text file. Please tell me how to get positions in 0.4and please don 't tell me to make a ini which save my position.
i was using trainer to save my loc and it takes lot of time
I don't think now VCMP0.4 Recommand that!

MacTavish

else if ( cmd=="s")
{
WriteIniString("coords.ini", "Pos", player.Pos);
MessagePlayer("Coords Saved",player);
}


Try it and before checking it Create coords.ini manually in your server folder

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

EK.IceFlake

Quote from: Beztone on Jul 22, 2015, 04:24 PMelse if ( cmd=="s")
{
WriteIniString("coords.ini", "Pos", player.Pos);
MessagePlayer("Coords Saved",player);
}


Try it and before checking it Create coords.ini manually in your server folder
He told you to not let him use inis ^.-

KAKAN

#4
one question if a player types /s, then it will be saved in our coords.ini right?

EDIT:-
Btw try this
else if ( cmd == "s" )
  {
    MessagePlayer( "[#ffffff]Pos X " + player.Pos.x + ", Pos Y " + player.Pos.y + ", Pos Z " + player.Pos.z , player );
  }
oh no

Thijn

Why not use print? You can then easily get your coordinates from the console, or server logs.

KAKAN

Nice idea tho!, it will help me a lot, Thanks
oh no

kokia

else if ( cmd == "s")
{
EMessage("Your pos : " + player.Pos + " .")
}
try but its untested bcuz em on mob

kokia

else if ( cmd == "s")
{
EMessage("Your pos : " + player.Pos + " .")
}
try but its untested bcuz em on mob

[VSS]Shawn

what the hell why spam?

I will not post my command coz last night i was typing that command from mobile then it suddenly clicked on Preview Wtf :(

KAKAN

No one even told u to post :D
oh no

Thijn