Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //====================================================fastfood jadenje====
- if(dialogid == FASTFOODJADENJE)
- {
- if(response)
- {
- if(listitem == 0) //
- {
- SendClientMessage(playerid, COLOR_GREEN, "Jadete pomfrit ! ");
- new Float:health;
- GetPlayerHealth(playerid, health);
- SetPlayerHealth(playerid, health+20);
- GivePlayerMoney(playerid, -20);
- ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,0,0,0,0);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "%s Jadete kromid.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- //SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
- }
- if(listitem == 1) //
- {
- SendClientMessage(playerid, COLOR_GREEN, "Jadete tost ! ");
- new Float:health;
- GetPlayerHealth(playerid, health);
- SetPlayerHealth(playerid, health+25);
- GivePlayerMoney(playerid, -25);
- ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,0,0,0,0);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "%s jade peceno pile.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- //SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
- }
- if(listitem == 2) //
- {
- SendClientMessage(playerid, COLOR_GREEN, "Jadete hotdog ! ");
- new Float:health;
- GetPlayerHealth(playerid, health);
- SetPlayerHealth(playerid, health+30);
- GivePlayerMoney(playerid, -30);
- ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,0,0,0,0);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "%s jade peceni kompiri.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- //SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
- }
- if(listitem == 3) //
- {
- SendClientMessage(playerid, COLOR_GREEN, "Jadete cheese burger ! ");
- new Float:health;
- GetPlayerHealth(playerid, health);
- SetPlayerHealth(playerid, health+35);
- GivePlayerMoney(playerid, -40);
- ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,0,0,0,0);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "%s jade sopska salata.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- //SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
- }
- if(listitem == 4) //
- {
- SendClientMessage(playerid, COLOR_GREEN, "Jadete hamburger ! ");
- new Float:health;
- GetPlayerHealth(playerid, health);
- SetPlayerHealth(playerid, health+40);
- GivePlayerMoney(playerid, -50);
- ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,0,0,0,0);
- GetPlayerName(playerid, sendername, sizeof(sendername));
- format(string, sizeof(string), "%s jade tost.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- //SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment