JasperRieken Posted January 19, 2011 Posted January 19, 2011 i dont know how to give everyone some weapons when they join i tryed mta wiki can't find it
Castillo Posted January 19, 2011 Posted January 19, 2011 With the code below it will give the player who joined a M4 with 9999 bullets. function giveWeaponsOnJoin() giveWeapon(source,31,9999,true) end addEventHandler("onPlayerJoin",getRootElement(),giveWeaponsOnJoin) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Moderators Zango Posted January 19, 2011 Moderators Posted January 19, 2011 rather put it on onPlayerSpawn because it might give him a weapon before he has spawned, and I don't know whether it works then. so like > onPlayerJoin add event onPlayerSpawn and remove when triggered
Castillo Posted January 19, 2011 Posted January 19, 2011 i was going to do that first, but suposed was ok when join San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now