Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case DIALOG_JAILMENU: {
- if(!response)
- return 1;
- if(PlayerInfo[playerid][pJailTime] < 1)
- return 1;
- switch(listitem) {
- case 0: {
- if(PlayerToPoint(50.0, playerid, -34.6773,2506.8154,17.2725))
- return SCM(playerid, COLOR_GRAD3, "Esti deja in curtea inchisorii!");
- if(GetPlayerCash(playerid) < 30000)
- return SCM(playerid, COLOR_GRAD3, "Nu ai suma necesara de bani!");
- SetPlayerPosEx(playerid, -34.6773,2506.8154,17.2725);
- GivePlayerCash(playerid, -30000);
- SCM(playerid, COLOR_GRAD3, "Ai platit $30,000 pentru a intra in curtea inchisorii!");
- }
- case 1: {
- if(GetPlayerCash(playerid) < 350000)
- return SCM(playerid, COLOR_GRAD3, "Nu ai suma necesara de bani!");
- PlayerInfo[playerid][pJailTime] = 1;
- PlayerInfo[playerid][pJailed] = 1;
- GivePlayerCash(playerid, -700000);
- SCM(playerid, COLOR_GRAD3, "Ai platit $700,000 pentru a iesi din inchisoare!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement