toribio

toribio

Feb 22nd, 2009
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. if(current == Leves)
  2. {
  3.     switch(row)
  4.     {
  5.         case 0:
  6.         {
  7.             TogglePlayerControllable(playerid, 1);
  8.             if(GetPlayerMoney(playerid) < 2600)
  9.             {
  10.                 SendClientMessage(playerid, 0xD50000F9, "Voce n�o tem dinheiro!");
  11.             }
  12.             else if(GunLic[playerid] == 0)
  13.             {
  14.                 SendClientMessage(playerid, 0xD50000F9, "Voce n�o tem permis�o!");
  15.             }
  16.             else if(GunLic[playerid] == 1)
  17.             {
  18.                 ApplyAnimation(playerid, "DEALER" ,"shop_pay", 4.1, 1, 1, 1, 1, 1);
  19.                 GivePlayerMoney(playerid, -2600);
  20.                 GivePlayerWeapon(playerid, 41, 500);
  21.             }
  22.         }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment