Jump to content

Features in Dimension


Recommended Posts

Posted

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! ;)

560x95_FFFFFF_FF9900_000000_000000.png
Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...