Jump to content

onMapStart / onMapStarting


'LinKin

Recommended Posts

Posted

Hello,

When using these two events server-side, do I need to add them like this?

addEventHandler(evName, true) ?

Or simply addEventHandler(evName)

Also, a small off-topic note:

They changed luac.multitheftauto.com Encryption option to Extra Obfuscation; Why?

Thanks.

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

Posted

I tried, it worked adding the 2nd argument to true,

But why? Isn't that argument for enabling the event being triggered from client to server and viceversa?

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

Posted
Hello,

When using these two events server-side, do I need to add them like this?

addEventHandler(evName, true) ?

Or simply addEventHandler(evName)

Also, a small off-topic note:

They changed luac.multitheftauto.com Encryption option to Extra Obfuscation; Why?

Thanks.

Hello , if it's a custom event you need to do it like this ,

addEvent('Linkin', true) 
addEventHandler('Linkin', root,  
function ( ) 
---- 

if it's an mta function like onPlayerChat, onPlayerJoin ... etc

no need ,

about the Encryption they added Extra because Obfuscation it's hard to decompile

- 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

Posted

Yeah Max, I know that, but look at the post that I made before yours.

addEvent from Wiki:

allowRemoteTrigger: A boolean specifying whether this event can be called remotely using triggerClientEvent / triggerServerEvent or not.

So onMapStarting would be being triggered from client?.. Kinda wierd.

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

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...