Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. stock casemoney_GivePlayerMoney(playerid, money)
  2. {
  3. new
  4. total_money = GetPlayerMoney(playerid)+money;
  5.  
  6. if(!IsPlayerAttachedObjectSlotUsed(playerid, 3))
  7. {
  8. if(total_money > money_briefcase)
  9. {
  10. player_with_briefcase{playerid} = true;
  11. SetPlayerAttachedObject(playerid, 3, 1210, 5, 0.299999, 0.099999, 0.000000, 0.000000, -83.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement