I have problems with my server, because the player used multiaccounting,,
That script can obtain or create for more than 1 time can not register players ??? Please Help,
This is the role I've done
local sql = { Query = executeSQLQuery };
addEventHandler( 'onResourceStart', resourceRoot, function()
sql.Query( "CREATE TABLE IF NOT EXISTS LogPunishment (\
Date STRING, Elemento STRING, STAFF STRING,\
Time STRING, Reazon STRING )"
)
end )
function LogAdmin (source)
local logPunish = executeSQLQuery("SELECT * FROM LogPunishment")
triggerClientEvent (source,"Punishlog",source,logPunish)
end
addCommandHandler ("punishlog", LogAdmin)