Este repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.
README.md
SAM scoreboard
SA-MP scoreboard for FiveM, you can adjust it anywhere.
Usage
It's plug and play, just make sure to ensure it on your server.cfg. Press 'Y' to show the scoreboard and for closing it, you can adjust it later in configuration or just edit the script (for now)
Callback
Every functions trigger server event called
AddEventHandler('SAM-scoreboard:Server:onScoreboardPlayerClicked', function(clickedPlayerId, clickedPlayerName, clickedPlayerPing)end)
You can listen the event in any other resource by adding this on your any resource files (make sure you put the SAM-scoreboard in top of your resources that you want to listen to)
RegisterNetEvent('SAM-scoreboard:Server:Custom:onScoreboardPlayerClicked')
AddEventHandler('SAM-scoreboard:Server:Custom:onScoreboardPlayerClicked', function(clickedPlayerId, clickedPlayerName, clickedPlayerPing)
-- Handle the event here
print("Received player click event in Example resource. Player ID: " .. clickedPlayerId .. ", Name: " .. clickedPlayerName .. ", Ping: " .. clickedPlayerPing)
end)
TODO
Configuration for the job, factions or gangs (it will give the player specific color based on their jobs or factions)
Feel free to open an issue, and contribute are welcomed.
esxfivefivemgtasagtavqbqbcoreqbcore-frameworksa-mpsamp
Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha