E-mail Posted September 8, 2011 Share Posted September 8, 2011 Hi all i have make the 1script its just a test to know my errors see and tell me if if coreccet or not ! function xxx (ammo, killer, killerweapon, bodypart ) if (killer) and (killer ~= source ) then givePlayerMoney (killer,90 outputChatBox("You Have got $90 For Kill The Noob!!",255,255,0)(ThePlayer) end end addEventHandler ("onPlayerWasted",getRootElement() , xxx) Link to comment
BinSlayer1 Posted September 8, 2011 Share Posted September 8, 2011 function xxx (ammo, killer, killerweapon, bodypart ) if (killer) and (killer ~= source ) then givePlayerMoney (killer,90) outputChatBox("You Have got $90 For Kill The Noob!!",killer,255,255,0) end end addEventHandler ("onPlayerWasted",getRootElement() , xxx) Link to comment
HoLsTeN Posted September 8, 2011 Share Posted September 8, 2011 (edited) function xxx (ammo, killer, killerweapon, bodypart ) if (killer) and (killer ~= source ) then givePlayerMoney (killer,90) outputChatBox("You killed enemy and earned 90$" ,killer, 0, 255,0 ) end end addEventHandler ("onPlayerWasted",getRootElement() , xxx) EDIT : sorry BinSlayer1 i dont see you code Edited September 8, 2011 by Guest Link to comment
JR10 Posted September 8, 2011 Share Posted September 8, 2011 Holsten, it's the same, with some changes like the wrong OutputChatBox. Link to comment
HoLsTeN Posted September 8, 2011 Share Posted September 8, 2011 I SAY I Dont see his code cuz i open the page and go to pray when i come back i press the submit Button ^^ Link to comment
JR10 Posted September 8, 2011 Share Posted September 8, 2011 Edit your code? It's outputChatBox not OutputChatBox. Link to comment
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