GerardWay Posted July 17, 2014 Posted July 17, 2014 setSkyGradient(0,0,0,0,0,0) setWaterColor(255,0,0) How can I set those ^ as working in the 666th Dimension only? So like, the 0 Dimension is normal, but the 666th Dimension has a black sky and red water Any help is appreciated!
Et-win Posted July 17, 2014 Posted July 17, 2014 If server-sided: Check or the player is in the 666th dimension. Then use 'triggerClientEvent' and set the code's client-side so only the client can see them. If client-sided: Also check or the player is in the 666th dimension, then set the codes. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
GerardWay Posted July 17, 2014 Author Posted July 17, 2014 Ah, I'm not so good with that side of LUA, could I possibly have an example please?
Max+ Posted July 17, 2014 Posted July 17, 2014 Ah, I'm not so good with that side of LUA, could I possibly have an example please? addEventHandler( 'onClientResourceStart', resourceRoot, function ( ) if getElementDimension ( localPlayer ) ~= 666 then --- if he is not in 666 then setWaterColor(0,0,255) setSkyGradient(0,0,0,0,0,0) outputChatBox ( ' * Sky , Water Change to normal *', 255, 0, 0 ) ----- set it to normal else --- if he is in 666 then setWaterColor(255,0,0) setSkyGradient(0,0,0,0,0,0) outputChatBox ( ' * Sky , Water Changed to Custom *', 255, 0, 0 ) end end ) - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
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