Jump to content

Player born with the skin of CJ [ HELP ]


Dinossauro

Recommended Posts

I wanted you to give me download it.

Learn LUA first. This is for you:

function player_Spawn() 
-- The source of this event is the player that just spawned. 
setElementModel(source,0) -- set spawned player skin to 0 
end 
addEventHandler ( "onPlayerSpawn", getRootElement(), player_Spawn ) 
  
function player_Wasted ( ammo, attacker, weapon, bodypart ) 
-- The source of this event is the player that died or got killed. 
local x,y,z = 0,0,0 -- your coords 
spawnPlayer(source,x,y,z) 
end 
addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) 
  
function spawnonjoin ( ) 
-- The source of this event is the player who joined. 
local x,y,z = 0,0,0 -- your coords 
spawnPlayer(source,x,y,z) 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), spawnonjoin ) 

Link to comment
   function player_Spawn() 
    -- The source of this event is the player that just spawned. 
    setElementModel(source,0) -- set spawned player skin to 0 
    end 
    addEventHandler ( "onPlayerSpawn", getRootElement(), player_Spawn ) 
      
    function player_Wasted ( ammo, attacker, weapon, bodypart ) 
    -- The source of this event is the player that died or got killed. 
    local x,y,z = 0,0,0 -- your coords 
    spawnPlayer(source,x,y,z) 
    end 
    addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) 
      
    function spawnonjoin ( ) 
    -- The source of this event is the player who joined. 
    local x,y,z = getElementPosition(source) -- your coords 
    spawnPlayer(source,x,y,z) 
    end 
    addEventHandler ( "onPlayerJoin", getRootElement(), spawnonjoin ) 

Fixed

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