Apo Posted May 9, 2016 Share Posted May 9, 2016 hi guys please help me for make faction for accept ticket plaer for example: i need add command for target player if the player ticket the target player , if targetplayer acceptticket theplayer pay money for theplayer function mandat(player, cmd, who, ile) local who = getPlayerFromName(who) if getPlayerTeam(player) == getTeamFromName("Police") then takePlayerMoney(who, tonumber(ile)) outputChatBox("Player "..getPlayerName(who).." has been given ticket ("..tonumber(ile).."$)") end end addCommandHandler("ticket", mandat) in need command for acceptticket for targetplayer Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now