GamerDeMTA Posted June 29, 2013 Posted June 29, 2013 Hi. I need help. I need this: How to put the sky color as the maps of zombies? And ALWAYS night?
Mefisto_PL Posted June 29, 2013 Posted June 29, 2013 Always night you can set locked time in map settings ( map editor ).
GamerDeMTA Posted June 29, 2013 Author Posted June 29, 2013 It doesn't work... It's as client side (I tried with Server Side too) function s () setSkyGradient (100, 50, 0, 70, 0, 0) end addEventHandler( "onResourceStart", resourceRoot, s ) ****EDIT: u know how to do that when I kill a zombie I get 30$?
iPrestege Posted June 30, 2013 Posted June 30, 2013 It doesn't work... It's as client side (I tried with Server Side too) function s () setSkyGradient (100, 50, 0, 70, 0, 0) end addEventHandler( "onResourceStart", resourceRoot, s ) ****EDIT: u know how to do that when I kill a zombie I get 30$? onResourceStart > onClientResourceStart Use 'onZombieWasted' Event and givePlayerMoney !
GamerDeMTA Posted June 30, 2013 Author Posted June 30, 2013 onZombieWasted is client side or server side
GamerDeMTA Posted June 30, 2013 Author Posted June 30, 2013 Doesn't work (as server-side) function () givePlayerMoney(source, 100) end addEventHandler("onZombieWasted", source, )
Castillo Posted June 30, 2013 Posted June 30, 2013 function ( killer ) givePlayerMoney ( killer, 100 ) end addEvent ( "onZombieWasted", true ) addEventHandler ( "onZombieWasted", root, )
GamerDeMTA Posted June 30, 2013 Author Posted June 30, 2013 Now it works. Thanks. Do you know how to add killmessages for zombies? I mean when a player kills a zombie, it's in the screen *Player [WEAPON] Zombie*
Castillo Posted June 30, 2013 Posted June 30, 2013 Use the exported function: "outputKillMessage" from "killmessages".
GamerDeMTA Posted June 30, 2013 Author Posted June 30, 2013 How to use it? Same as outputChatBox? Oh, and it's client-side or server-side?
Castillo Posted June 30, 2013 Posted June 30, 2013 Is both, client and server side, here is the syntax: outputKillMessage ( killed, wr,wg,wb,killer,kr,kg,kb,weapon,width,resource )
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