Zoon Posted August 28, 2012 Share Posted August 28, 2012 hola amigos, como puedo hacer un join weapon? osea para que cuando entren al servidor tengan de weapon una katana o una pistol, les agradesco la ayuda Link to comment
BorderLine Posted August 28, 2012 Share Posted August 28, 2012 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
Recommended Posts