GamerDeMTA Posted May 9, 2013 Share Posted May 9, 2013 I want to do that, when a player logins / quit in his account, it saves his position, his weapons and his money. How? Link to comment
iPrestege Posted May 9, 2013 Share Posted May 9, 2013 You can found this resource at the community : https://community.multitheftauto.com/ For example this one : https://community.multitheftauto.com/index.php?p=resources&s=details&id=732 Link to comment
PaiN^ Posted May 9, 2013 Share Posted May 9, 2013 Things you'll need : -- Events : 'onPlayerLogin' 'onPlayerLogout' -- Functions : getPlayerAccount isGuestAccount getPlayerMoney getElementPosition getPlayerWeapon getPedTotalAmmo setAccountData getAccountData giveWeapon setElementPosition givePlayerMoney Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now