Buying Hotdog (SetPlayerHealth) Warnings
#3

PHP код:
case DIALOG_HOTDOG:
        {
            if(
response)
            {
                                new 
Float:health;
                                
GetPlayerHealth(playeridhealth)
                if(
health >70)
                {
                    
SetPlayerHealth(playerid100);
                }
                
ac_GivePlayerMoney(playerid, -100);
                
SendClientMessage(playeridHBLAU"Du hast dir von Phillip fьr 100$ ein Hotdog gekauft.");
                
SetPlayerHealth(playeridGetPlayerHealth(playerid)+30);
            }
            else
            {
                
SendClientMessage(playeridGRAU"Du hast dir kein Hotdog gekauft.");
            }
        } 
Reply


Messages In This Thread
Buying Hotdog (SetPlayerHealth) Warnings - by aw1337 - 21.01.2017, 14:14
Re: Buying Hotdog (SetPlayerHealth) Warnings - by BiosMarcel - 21.01.2017, 14:15
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Yaa - 21.01.2017, 17:17
Re: Buying Hotdog (SetPlayerHealth) Warnings - by ISmokezU - 21.01.2017, 17:32
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Yaa - 21.01.2017, 17:35
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Codeah - 21.01.2017, 17:50
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Yaa - 21.01.2017, 17:58
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Yaa - 21.01.2017, 18:19
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Codeah - 21.01.2017, 18:21
Re: Buying Hotdog (SetPlayerHealth) Warnings - by Yaa - 21.01.2017, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)