Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Spice on Jul 08, 2015, 11:08 AM

Title: getting Player position
Post by: Spice on Jul 08, 2015, 11:08 AM
how can i get my player's position.....like in 0.3 it was /s now in 0.4 its not working....is it changed or else...?
i have tried it as a cmd

print(">>" + player.Pos);

but itx also not working.....
Title: Re: getting Player position
Post by: KingOfVC on Jul 08, 2015, 11:14 AM
function onPlayerCommand(player,cmd,text)
{
if ( cmd == "s")
{
print(">> " + player.Pos )
}
}
Title: Re: getting Player position
Post by: Spice on Jul 08, 2015, 11:20 AM
oohk got it thank you