06.07.2012, 17:47
how do you do when you have 0g drugs the command can't be used
Код:
if (strcmp("/usedrug Heroin", cmdtext, true, 14) == 0) { SendClientMessage(playerid, 0xFF0000AA, "Ти изпозва 1 грам Хероин"); Heroin[playerid]--; SetPlayerDrunkLevel(playerid, 60); SetPlayerWeather(playerid, 21); SetPlayerTime(playerid, 23, 00); return 1; }