Jump to content

Restart CJ Clothes


Recommended Posts

Hey, I had this problem too

  
local TablicaDebugowa = { 
{"tracktrpro","tracktr", 2}, 
{"convproblk","conv", 3}, 
{"bandred3","bandmask", 15}, 
{"tshirterisyell","tshirt",0 }, 
{"gimpleg","gimpleg",17}, 
{"bandred","bandana",16}, 
{"watchpink","watch",14}, 
{"dogtag","neck",13} 
} 
--you can add more clothes  (like tattos etc) to TablicaDebugowa 
for i=1,#TablicaDebugowa do --simple loop 
        addPedClothes(source,TablicaDebugowa[i][1],TablicaDebugowa[i][2],TablicaDebugowa[i][3]) 
        removePedClothes(source,TablicaDebugowa[i][3]) 
        end 
  

Link to comment

This bug only appears when you join the game

  
function fixClothes() 
local TablicaDebugowa = { 
{"tracktrpro","tracktr", 2}, 
{"convproblk","conv", 3}, 
{"bandred3","bandmask", 15}, 
{"tshirterisyell","tshirt",0 }, 
{"gimpleg","gimpleg",17}, 
{"bandred","bandana",16}, 
{"watchpink","watch",14}, 
{"dogtag","neck",13} 
} 
--you can add more clothes  (like tattos etc) to TablicaDebugowa 
for i=1,#TablicaDebugowa do --simple loop 
        addPedClothes(source,TablicaDebugowa[i][1],TablicaDebugowa[i][2],TablicaDebugowa[i][3]) 
        removePedClothes(source,TablicaDebugowa[i][3]) 
        end 
end 
addEventHandler("onPlayerLogin", getRootElement ( ), fixClothes) 
  
  

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...