27.11.2010, 21:54
Okay for some reason my Paychecks don't show up on my main host, but they do on my home host....
I type /payday on my home host and it works EVERY time, but when I try it on my main server, it doesnt' work. can anybody tell me what the problem is?
I type /payday on my home host and it works EVERY time, but when I try it on my main server, it doesnt' work. can anybody tell me what the problem is?
pawn Код:
public PayDay()
{
FireTimer = 5 * 60 + 1;
FireDelay = random(50 * 60) + 1;
FirePlace = random(sizeof(FireLoc));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
Points[i][Announced] = 0;
if (Points[i][Vulnerable] > 0)
{
Points[i][Vulnerable]--;
UpdatePoints();
}
}
}
new string[256];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayerInfo[i][pCheck] = 1;
CheckNumber[i] = 1000+random(8999);
format(string, 128, "Type /signcheck %d to receive your paycheck.", CheckNumber[i]);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "~y~PayDay~n~~w~Paycheck");
GameTextForPlayer(i, string, 5000, 1);
}
}
return 1;
}