Please help
#1

How to make it when you have gram of the drug to use

Код:
if (strcmp("/usedrug Heroin", cmdtext, true, 14) == 0)
	{
            if(GetPlayerHeroin(playerid) < 10) return SendClientMessage(playerid, 0xFFFFFF, "Ти нямаш достатъчно пари.");
            SendClientMessage(playerid, 0xFF0000AA, "Ти изпозва 1 грам Хероин");
		    Heroin[playerid]--;
		    SetPlayerDrunkLevel(playerid, 60);
		    SetPlayerWeather(playerid, 21);
			SetPlayerTime(playerid, 23, 00);
		  	return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)