29.12.2009, 14:13
Код:
#define rank1price randomEx(500,900)
public PayDay()
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
if (RankInfo[i][rank1] == 1)
{
new string42[128];
new themoney;
themoney = rank1price;
GivePlayerMoney(i, rank1price);
GameTextForPlayer(i,"Pay Day $",1000,1);
format(string42, sizeof(string42), "You got: %d", themoney);
SendClientMessage(i, COLOR_WHITE, string42);
}

