GetPlayerDrunkLevel Question
#4

Mayb you can try something like this,

Код:
if(GetPlayerDrunkLevel(playerid) > 1999 && GetPlayerDrunkLevel(playerid) < 2499) {
SendClientMessage(playerid, 0xFFFFFFFF, "Drunk rate 1");

if(GetPlayerDrunkLevel(playerid) > 2499 && GetPlayerDrunkLevel(playerid) < 2999) {
SendClientMessage(playerid, 0xFFFFFFFF, "Drunk rate 2");

if(GetPlayerDrunkLevel(playerid) > 2999 && GetPlayerDrunkLevel(playerid) < 3499) {
SendClientMessage(playerid, 0xFFFFFFFF, "Drunk rate 3");
Etc.

I believe the highest GetPlayerDrunkLevel is 50000 so i would set the drunk levels higher else u need to make 100 rates.
Reply


Messages In This Thread
GetPlayerDrunkLevel Question - by Erkan - 20.10.2009, 15:23
Re: GetPlayerDrunkLevel Question - by Damn Right M.I.A! - 20.10.2009, 15:25
Re: GetPlayerDrunkLevel Question - by Erkan - 24.10.2009, 17:14
Re: GetPlayerDrunkLevel Question - by wijnkamp - 24.10.2009, 17:56
Re: GetPlayerDrunkLevel Question - by MenaceX^ - 24.10.2009, 18:29
Re: GetPlayerDrunkLevel Question - by Sergei - 24.10.2009, 18:35
Re: GetPlayerDrunkLevel Question - by Joe Staff - 24.10.2009, 19:18
Re: GetPlayerDrunkLevel Question - by luxeon - 24.10.2009, 19:33
Re: GetPlayerDrunkLevel Question - by Sergei - 24.10.2009, 20:02

Forum Jump:


Users browsing this thread: 2 Guest(s)