JeweL Posted July 26, 2020 Share Posted July 26, 2020 function playerLogin(username, pass, player) local playerID = getAccountData(getPlayerAccount(player),"playerID") account = getPlayerAccount(player) local x,y,z = getAccountData(account,"last_x"),getAccountData(account,"last_y"),getAccountData(account,"last_z") local skin = getAccountData(account,"skin") createZombieTable (player) if getAccountData(account,"isDead") then spawnDayZPlayer(player) return end spawnPlayer (player, x,y,z, math.random(0,360), skin, 0, 0) fadeCamera (player, true) setCameraTarget (player, player) playerCol = createColSphere(x,y,z,1.5) setElementData(player,"playerCol",playerCol) attachElements ( playerCol, player, 0, 0, 0 ) setElementData(playerCol,"parent",player) setElementData(playerCol,"player",true) for i,data in ipairs(playerDataTable) do local elementData = getAccountData(account,data[1]) setElementData(player,data[1],elementData) end setElementData(player,"logedin",true) setPedStat ( thePlayer, 69, 1000 ) setPedStat ( thePlayer, 70, 1000 ) setPedStat ( thePlayer, 71, 1000 ) setPedStat ( thePlayer, 72, 1000 ) setPedStat ( thePlayer, 73, 1000 ) setPedStat ( thePlayer, 74, 1000 ) setPedStat ( thePlayer, 75, 1000 ) setPedStat ( thePlayer, 76, 1000 ) setPedStat ( thePlayer, 77, 1000 ) setPedStat ( thePlayer, 78, 1000 ) setPedStat ( thePlayer, 79, 1000 ) That script is good for MTA DayZ full stats for Weapons? 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