if getElementModel( element ) == 0 then -- 0 = player skin ID
-- element العنصر اللي تبى تتحقق منه
يصير كذا
createTeam('Police' , 255 , 255 , 255)
addEventHandler ( "onPlayerSpawn",root,
function()
if getElementModel( source ) == 0 then -- if player skin = 0(cj model) then do!
giveWeapon ( source, 4, 300 )
giveWeapon ( source, 23, 300 )
setPlayerTeam ( source, getTeamFromName ("Police"))
end
end
)