29.01.2014, 21:22
(
Последний раз редактировалось joaocvitor; 29.01.2014 в 21:55.
)
Sou novo em pawno e esse sistema de payday da o dinheiro ao player mas depois o dinheiro some do nada. ajuda ai por favor
PHP код:
public paytime(playerid)
{
new hh, mm, ss;
gettime( hh, mm, ss );
if( mm == 0 )
{
for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
{
new string[128];
new RandomPay = random(5000 - 725) + 725;
GivePlayerMoney( playerid, RandomPay );
SendClientMessage(playerid, COLOR_AMARELO,"Vocк recebeu seu salario");
format(string, sizeof(string), "Salario> $%i", RandomPay);
SendClientMessage(i, COLOR_AMARELO, string);
SendClientMessage(playerid, COLOR_AMARELO,"Vб deposita-lo");
}
}
return 1;
}