Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. pData[playerid][pMoney] -= price;
  2. Update(playerid, pCashu);
  3. pData[playerid][pCrimes] += pData[playerid][pWarrants];
  4. pData[playerid][pPrisonTime] = pData[playerid][pWarrants]*100;
  5. format(string, sizeof(string), "* You are in Jail for %d Seconds and lose $%d because of running away and getting shot by the Officer.", pData[playerid][pPrisonTime], price);
  6. SendClientMessage(playerid, COLOR_LIGHTRED, string);
  7.  
  8. Robbing[playerid] = 0;
  9. DisablePlayerCheckpoint(playerid);
  10.  
  11. arrestInfo[2] = random(sizeof(JailSpawns));
  12. pData[playerid][pPrisonID] = 3;
  13.  
  14. SetPlayerPos(playerid, 223.2623,110.4886,999.0156);
  15. SetPlayerFacingAngle(playerid, 0);
  16. TogglePlayerControllable(playerid, 0);
  17.  
  18. pData[playerid][pInterior] = 10;
  19. SetPlayerInterior(playerid, 10);
  20. pData[playerid][pHealth] = 100.0;
  21. SetPlayerHealth(playerid, pData[playerid][pHealth]);
  22. Robbing[playerid] = 0;
  23. pData[playerid][pWarrants] = 0;
  24. SetPlayerSkin(playerid, 62);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement