Jump to content

giveWeaponsOnPlayerSpawn.... doubt


Medwar

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

end

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

 

META:

<meta>

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

<meta>

 

¿wich is the problem here?

thanks

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...