Hm,see the IDs of weapon in table?(5,24,25,28,30,33,44)
So,when player will spawn if he's in team "Killers" then
local positionsofthespawn={
[1]={x,y,z,5,24,25,28,30,33,44}, --Spawn o_O
}
local killers = createTeam("Killers",255,204,153)
addEventHandler("OnPlayerSpawn",root,
function()
local playerTeam = getPlayerTeam ( source )
local team = getTeamName ( playerTeam )
if team=="Killers" then
giveWeapon(source,here,myammo)
end
end
)
I must get IDs , but how?Please,help.Thanks.