Save,Load

Page: 1  

  • Zi;

    [code] AddChatCommand(\"save\",function(self,player) --for InstantAction only! player.savedPos=player:GetPos(); end); AddChatCommand(\"load\",function(self,player) if player.savedPos then TeleportPlayer(player,player.savedPos); else Chat:SendToTarget(nil,player,\"You havent saved any position yet!\"); end end); [/code]

    0
  • UNU

    Nice Why is this for IA only?

    0
  • Zi;

    Want PS, just add PP checking and subtracting PP from player :) This is easiest form - without PP.

    0
Page: 1