i think this cmd is gud
else if ( strcmp( cmd, "!drunk", true ) == 0 )
{
new Float:Drunk;
if ( strcmp( GetPlayerLocation( playerid ), "Bikers-Bar-Downtown-Vice-City-Mainland", true ) == 1 ) SendClientMessage( playerid, COLOR_GREEN, "You have to be at the Biker." );
else
{
SetPlayerDrunk( playerid, 300, 300);
SendClientMessage( playerid, COLOR_GREEN, "You are now Drunked" );
}
return 1;
}
else if ( strcmp( cmd, "!undrunk", true ) == 0 )
{
new Float:Drunk;
if ( strcmp( GetPlayerLocation( playerid ), "Hospital-Downtown-Vice-City-Mainland", true ) == 1 ) SendClientMessage( playerid, COLOR_GREEN, "You have to be at the Hospital." );
else
{
SetPlayerDrunk( playerid,0);
SendClientMessage( playerid, COLOR_GREEN, "Dr. says that dont drink again its bad for your health." );
}
return 1;
}