Guest User

Untitled

a guest
Sep 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. public OnPlayerPause(playerid)
  2. {
  3. new ime[MAX_PLAYER_NAME], string[256];
  4. GetPlayerName(playerid, ime, sizeof(ime));
  5. format(stringafk, sizeof(stringafk), "[KORISTI ESC MENI].",ime);
  6. if(PlayerCuffedTime[playerid] > 0)
  7. {
  8. PlayerInfo[playerid][pJailed] = 1;
  9. PlayerInfo[playerid][pJailTime] += 3600;
  10. WantedLevel[playerid] = 0;
  11. WantedPoints[playerid] = 0;
  12. ResetPlayerWeapons(playerid);
  13. format(string,sizeof(string),"Zatvoren si na 3600 sekundi zato sto si pritisnuo ESC dok si tazovan/zavezan");
  14. SCM(playerid,-1,string);
  15. }
  16. return 0;
  17. }
  18.  
  19. public OnPlayerUnPause(playerid)
  20. {
  21. SetPlayerChatBubble(playerid, "", belaboja, 30.0, 1000);
  22. return 0;
  23. }
Add Comment
Please, Sign In to add comment