Tag mismatch
#5

, it works with other things, this is my whole code...

Код:
public CheckArmour()
{
  for (new i=0; i < MAX_PLAYERS; i++)
  {
    if (IsPlayerConnected(i))
    {
       new Float:armour;
       GetPlayerArmour(i, armour);
       SetPlayerArmour(i, armour);
       PlayerInfo[i][pArmour] = armour;
       OnPlayerUpdate(i);
     }
  }
}
pArmour is just stored as a number, and on login it sets that number to the players armour.

SetPlayerArmour(playerid, PlayerInfo[playerid][pArmour]); - That works on login.
Reply


Messages In This Thread
Tag mismatch - by NewYorkRP - 06.02.2010, 20:31
Re: Tag mismatch - by Correlli - 06.02.2010, 20:33
Re: Tag mismatch - by NewYorkRP - 06.02.2010, 20:34
Re: Tag mismatch - by Correlli - 06.02.2010, 20:34
Re: Tag mismatch - by NewYorkRP - 06.02.2010, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)