#1

Is that code ok? Can i make it better? Because SCMToAll spamming chat

Код:
	for(new i=0;i<MAX_PLAYERS;i++)
			{
 				if(gTeam[i] == TEAM_ROBS)
   				{
					GivePlayerMoney(i, 60000);
		       		SetTimer("GM", 4000, false);
		       		SCMToAll(-1, "{0087FF}> Rob win {FFFFFF}u received 60000$ of cash");
				}
Reply
#2

Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(gTeam[i] == TEAM_ROBS)
    {
        GivePlayerMoney(i, 60000);
        SendClientMessage(i, -1, "{0087FF}> Rob win {FFFFFF}u received 60000$ of cash");
    }
}

SetTimer("GM", 4000, false); //This must be out of the loop
Reply
#3

Also Fix your grammar mistakes.
The sentence should be "Robbers win you recived $60000"
Reply
#4

Thanks!
Reply
#5

Quote:
Originally Posted by JakeXxX
Посмотреть сообщение
Also Fix your grammar mistakes.
The sentence should be "Robbers win you recived $60000"
Your sentence is also wrong. Even you telling him to fix his grammar is wrong...
Reply


Forum Jump:


Users browsing this thread: