Jump to content

Handing the colt45 with two hands


TheCapn

Recommended Posts

@Citizen You're welcome.

@TheCapn Use this code below

addEventHandler("onPlayerLogout",root, 
function(player) 
local acc = getPlayerAccount(player) 
if acc and not isGuestAccount  ( acc ) then 
local DoubleColt = getPedStat(player,69) 
setAccountData(acc, "double.colt", DoubleColt ) 
end 
end 
) 
  
addEventHandler("onPlayerLogin",root, 
function(player) 
local acc = getPlayerAccount(player) 
local DoubleColt = getAccountData(acc,"double.colt") 
setPedStat ( player, DoubleColt, 1000 ) 
end 
) 
  
addEventHandler("onPlayerJoin",root, 
function(player) 
setPedStat ( player, 69, 1000 ) 
end 
) 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...