Jump to content

Help


Recommended Posts

Posted
so, if i need make script that start mod for some players (not all players) what function should i use?

What do you mean by "start mod" and "some players"?

Posted

you can pass player reference as formal argument in function and you can process the statements in that functions using that player reference. Then all statements will be executed for that player reference not for all server players.

Posted
so, if i need make script that start mod for some players (not all players) what function should i use?

What do you mean by "start mod" and "some players"?

i mead start mod like deathmatch, race....

like arena.

  • Moderators
Posted
so, if i need make script that start mod for some players (not all players) what function should i use?

Using:

loadstring 

But it is a complex process/project, I do not recommend you to start building it. (and no it isn't just loadstring, it is much more than that)

Posted
so, if i need make script that start mod for some players (not all players) what function should i use?

Using:

loadstring 

But it is a complex process/project, I do not recommend you to start building it. (and no it isn't just loadstring, it is much more than that)

can u give me an example ?

  • Moderators
Posted
so, if i need make script that start mod for some players (not all players) what function should i use?

Using:

loadstring 

But it is a complex process/project, I do not recommend you to start building it. (and no it isn't just loadstring, it is much more than that)

can u give me an example ?

local exampleString = ' 
addEventHandler("onClientRender", root, 
function () 
setElementPosition(localPlayer, 0, 0, 100) -- I am stuck... Not funny! 
end) 
' 

Load the code for a single client!

loadstring(exampleString) 

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