Mi script el de "exp_system" usa element data, asi que podes usar el event onClientElementDataChange para cambiar el progreso al subir la experiencia.
P.D: Acabo de subir unos cambios al "exp_system", agregue las funciones: getLevelData, getPlayerLevel y getPlayerEXP client-side, asi podes hacer este script mucho mas facil.
function fire ( )
for key, value in ipairs ( getElementsByType ( "player" ) ) do
toggleControl ( value, "fire", false )
end
end
addCommandHandler ( "fire", fire )
Usa eso entonces, pero igual no desactivara solo para la que esten usando, ya que para eso necesitas algo mas sofisticado.
El no dijo que queria desactivarlas para todos, sino para el que usa el comando.
function fire ( thePlayer )
toggleControl ( thePlayer, "fire", false )
end
addCommandHandler ( "fire", fire )
But is not as simple as that... you must then edit the script and replace the GUI with the one GUIeditor gave you, and do it like the script works, leaving variables and so on intact.
elseif column.name == "Ranks" then
outputChatBox ( tostring ( content ) )
dxDrawImage( topX+theX, y+s(1), 16, 11, content, 0, 0, 0, cWhite, drawOverGUI )
Try that and see what it outputs to chatbox when you open the scoreboard.