TheMhmd Posted March 2, 2014 Share Posted March 2, 2014 i want on player add /kill kil player and take 150- Link to comment
cheez3d Posted March 2, 2014 Share Posted March 2, 2014 (edited) This is not a request section. Use these functions: addCommandHandler() takePlayerMoney() setElementHealth() Edited March 2, 2014 by Guest Link to comment
Wei Posted March 2, 2014 Share Posted March 2, 2014 function killCommand(player, cmd) -- you may need to check if player has $100 killPed(player) takePlayerMoney(player, 100) end addCommandHandler("kill", killCommand) Link to comment
Karuzo Posted March 2, 2014 Share Posted March 2, 2014 and takePlayerMoney() //Edit: Too Late D: Link to comment
TheMhmd Posted March 2, 2014 Author Share Posted March 2, 2014 takePlayerMoney (150-,source) Link to comment
Karuzo Posted March 2, 2014 Share Posted March 2, 2014 Why don't you use Wei's code? That's all you need. Link to comment
MTA Team jhxp Posted March 2, 2014 MTA Team Share Posted March 2, 2014 https://forum.multitheftauto.com/viewtopic.php?p=668093#p668093 Link to comment
Recommended Posts