Jump to content

Ayuda con Join Weapon


Zoon

Recommended Posts

ejemplo de la wiki.

Serverside

function giveWeaponsOnSpawn ( theSpawnpont, theTeam ) 
    giveWeapon ( source, 31, 200 ) -- Gives the M4 weapon with 200 ammo 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), giveWeaponsOnSpawn ) 

Si quieres ke tambien le de despues de morir y de spawn

function giveWeaponsOnSpawn ( theSpawnpont, theTeam ) 
    giveWeapon ( source, 31, 200 ) -- Gives the M4 weapon with 200 ammo 
end 
addEventHandler ( "onPlayerSpawn", getRootElement(), giveWeaponsOnSpawn ) 
addEventHandler ( "onPlayerJoin", getRootElement(), giveWeaponsOnSpawn ) 

mira las ID de las weapons para ir poniendo distintas giveWeapon

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...