-- The source of this event is the player that just spawned.
setElementModel(source,0) -- set spawned player skin to 0
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
addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted )
function spawnonjoin ( )
-- The source of this ev