Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pData[playerid][pMoney] -= price;
- Update(playerid, pCashu);
- pData[playerid][pCrimes] += pData[playerid][pWarrants];
- pData[playerid][pPrisonTime] = pData[playerid][pWarrants]*100;
- 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);
- SendClientMessage(playerid, COLOR_LIGHTRED, string);
- Robbing[playerid] = 0;
- DisablePlayerCheckpoint(playerid);
- arrestInfo[2] = random(sizeof(JailSpawns));
- pData[playerid][pPrisonID] = 3;
- SetPlayerPos(playerid, 223.2623,110.4886,999.0156);
- SetPlayerFacingAngle(playerid, 0);
- TogglePlayerControllable(playerid, 0);
- pData[playerid][pInterior] = 10;
- SetPlayerInterior(playerid, 10);
- pData[playerid][pHealth] = 100.0;
- SetPlayerHealth(playerid, pData[playerid][pHealth]);
- Robbing[playerid] = 0;
- pData[playerid][pWarrants] = 0;
- SetPlayerSkin(playerid, 62);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement