Hello.... i need help.
i starting scripting and i need support whit this script.
function giveWeaponsOnPlayerSpawn (TheSpawnpoint, theTeam)
giveWeapon (source, 26, 20) -- sawed-off and 20 ammo
end
addEventHandler ("onPlayerSpawn", getRootElement (), giveWeaponsOnSpawn)
META:
<meta>
<script src="script.lua" type="server"/>
<meta>
¿wich is the problem here?
thanks