Quote:
Originally Posted by [SAP
Francis ]
Quote:
Originally Posted by afei™
In case i understood you right.. Make a timer which checks whether a player has less money than 0 or not. If the player has less than 0 send him the message.
simple loop
Код:
for( new i = 0; i < MAX_PLAYERS; i++ )
{
if( GetPlayerMoney(i) < 0 )
{
SendClientMessage( i, color, msg );
}
}
|
Hi there,
This will just spam the user hundred of times until he earns some money. That's stupid.
Have fun scripting.
Kind regards,
Francis Morissette
SA-MP Scripter
http://sa-mp.com
|
It wont spam the user when you include it inside of a public like for example payday or h/e he named his