Zmajk0

Untitled

Nov 8th, 2020
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 0:
  2. {
  3. if(kapica[playerid]==0)
  4. {
  5. RemovePlayerAttachedObject(playerid,7);
  6. SetPlayerAttachedObject(playerid,7,19065,2,0.1200,0.0400,-0.0035,0,100,100,1.4,1.4,1.4);
  7. kapica[playerid]=1;
  8. GameTextForPlayer(playerid,!"~r~kapica stavljena!",3500,3),PlayerPlaySound(playerid,1052,0,0,0.0);
  9. }
  10. else
  11. {
  12. RemovePlayerAttachedObject(playerid,7);
  13. kapica[playerid]=0;
  14. GameTextForPlayer(playerid,!"~r~kapica skinuta!",3500,3),PlayerPlaySound(playerid,1052,0,0,0.0);
  15. }
  16.  
  17. }
RAW Paste Data