26.07.2010, 08:13
hello, can someone make me a script like every hour give pleader 1 2000$ how i make it i use larp script it give random paycheck and i don't know how to change it i realy need help...
i have search them put i have Payday system in script i use larp script
|
forward payday(); Under gamemodeinit SetTimer("payday",timehere,true); public payday() { for(new i = 0; i < MAX_PLAYERS; i++) { SafeGivePlayerMoney(i, amount); } }
public payday()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(i == 1)
{
SafeGivePlayerMoney(i, amount);
}
else if(i == 2)
{
SafeGivePlayerMoney(i, amount);
}
}
}