07.03.2014, 02:58
Quote:
Something like this?
pawn Код:
|
Код:
CMD:muacapdo(playerid,params[]) { if(Hours[playerid] >= Lenlv[playerid]) { Lenlv[playerid] = Lenlv[playerid] + 4; if(Lenlv[playerid] < Hours[playerid]) { SetPlayerScore(playerid, GetPlayerScore(playerid)+1); GivePlayerMoney(playerid, -50000); SendClientMessage(playerid, COLOR_GREEN, "Chuc mung! Ban da len them LV moi"); } } else { SendClientMessage(playerid, COLOR_SEXYGREEN, "Ban khong mang du tien hoac chua du thoi gian Online"); } return 1; }