Server side event

Audio Rejectz

Well-Known Member
Hoping someone can help me...Basically im slightly confused on which to use to control and event server side. i know there's
Code:
if (isServer)
if (!isServer)

I have an earthquake that happens occasionally on the server, obviously i cant use
Code:
if (!isDedicated)
As this will make the quake happen at different times for everyone, so do i need to use one of the isServer's? if so which one

Thanks :D
 
If (isServer) then {...}; // Execution server-only
If (!isServer) then {...}; // Execution client-only

If (isDedicated) then {...}; // Execution dedicated-server-only

If (isMultiplayer) then {...}; // Execution multiplayer-only
If (!isMultiplayer) then {...}; // Execution singleplayer-only

Hope this helps
 
Back
Top