Jump to content

please help! i need help


niko420

Recommended Posts

addCommandHandler("punishments",show) 
function () 
if ( getElementData ( localPlayer, "isPlayerLoggedin" ) ) then 
local playerID = exports.server:getPlayerAccountID ( localPlayer ) 
guiGridListClear ( accountPunishGrid ) 
guiGridListClear ( serialPunishGrid ) 
  
guiSetText( punishlogLabel1, "Accountname: " .. exports.server:getPlayerAccountName ( localPlayer ) .. " / Nickname: "..getPlayerName( localPlayer ) ) 
guiSetText( punishlogLabel2, "Serial: "..getPlayerSerial() ) 
triggerServerEvent ( "retrievePlayerPunishments", localPlayer, playerID )  
end 
end 

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...