15.04.2014, 11:47
'This text "+ 5 Health supplie from the snake farms captured by your team and the other one" keeps showing in login screen. every 2-3 seconds.
How do I remove it from login screen? and when I spawned it's not showing again.
How do I remove it from login screen? and when I spawned it's not showing again.
Код:
forward ZoneBonouses();
public ZoneBonouses()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(tCP[SNAKE] == Team[i])
{
SendClientMessage(i, -1, ""COL_GREEN">> "COL_WHITE"+ 5 Health supplie from the snake farms captured by your team.");
new Float:hp;
GetPlayerHealth(i, hp);
SetPlayerHealth(i, hp+5);
}
if(tCP[ARMY] == Team[i])
{
SendClientMessage(i, -1, ""COL_GREEN">> "COL_WHITE"+ 10 Ammu for your current weapon supplie from the snake farms captured by your team.");
switch(GetPlayerWeapon(i))
{
case 16, 17, 18, 35, 36, 37, 38, 39, 42: return false;
}
GivePlayerWeapon(i, GetPlayerWeapon(i), 10);
}
}
return 1;
}



