Jump to content

giveWeaponsOnPlayerSpawn.... doubt


Recommended Posts

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


addEventHandler ("onPlayerSpawn", getRootElement (), giveWeaponsOnSpawn)




<script src="script.lua" type="server"/>



¿wich is the problem here?


Edited by Medwar
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...