Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 1:
- {
- if(Current == donutshop) format(actstring, sizeof(actstring), "* %s eats a little donut and plays with the little toy that came with it.", PlayerName(playerid));
- else format(actstring, sizeof(actstring), "* %s eats their kids meal and plays with the little toy that came with it.", PlayerName(playerid));
- JBC_GivePlayerMoney(playerid, -2);
- JBC_SetPlayerHealth(playerid, health + 20);
- Glad[playerid] += 20;
- if(Glad[playerid] > 100) {Glad[playerid] = 100;}
- }
- case 2:
- {
- if (Current == chickenmenu) format(actstring, sizeof(actstring), "* %s eats the nuggets from their cup.", PlayerName(playerid));
- else if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s eats their personal pan pizza.", PlayerName(playerid));
- else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their regular size donut.", PlayerName(playerid));
- else format(actstring, sizeof(actstring), "* %s eats their cheeseburger.", PlayerName(playerid));
- JBC_GivePlayerMoney(playerid, -4);
- JBC_SetPlayerHealth(playerid, health + 50);
- Glad[playerid] += 25;
- if(Glad[playerid] > 100) {Glad[playerid] = 100;}
- }
- case 3:
- {
- if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s eats their greasy sheet pizza.", PlayerName(playerid));
- else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their extra large chief donut.", PlayerName(playerid));
- else format(actstring, sizeof(actstring), "* %s eats their greasy sandwich.", PlayerName(playerid));
- JBC_GivePlayerMoney(playerid, -5);
- JBC_SetPlayerHealth(playerid, health + 80);
- Glad[playerid] += 25;
- if(Glad[playerid] > 100) {Glad[playerid] = 100;}
- }
- case 4:
- {
- if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their extra large donut.", PlayerName(playerid));
- else format(actstring, sizeof(actstring), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", PlayerName(playerid));
- JBC_GivePlayerMoney(playerid, -3);
- JBC_SetPlayerHealth(playerid, health + 35);
- Glad[playerid] += 30;
- if(Glad[playerid] > 100) {Glad[playerid] = 100;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement