Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 15/04/23 in all areas

  1. How your server stores job info? If it’s a team use getPlayerTeam
    1 point
  2. The proper way in Lua to use arguments in a function created using loadstring is vararg expression, written as three dots. local argument1, argument2, argument3 = ... In your case, the function body would look like this: local player = ... return getPlayerName(player) == 'owner' An example with loadstring: local func_str = "local player = ... return getPlayerName(player) == 'owner'" local loadstringed = loadstring(func_str) local testPlayer = getPlayerFromName("player1") local success, info = pcall(loadstringed, testPlayer)
    1 point
×
×
  • Create New...