14.09.2011, 15:04
Hello i want
a last position script
if i type /lastpos i will teleport to my last pos
Thanks!
a last position script
if i type /lastpos i will teleport to my last pos
Thanks!
new Float:X,Float:Y,Float:Z,Float:Angle;
CMD:savepos(playerid, params[])
{
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid, Angle);
return 1;
}
CMD:lastpos(playerid, params[])
{
SetPlayerPos(playerid, X,Y,Z);
SetPlayerFacingAngle(playerid, Angle);
return 1;
}