Text not showing up.
#5

Quote:
Originally Posted by V№ceC№ty
pawn Код:
public Health()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerConnected(i))
    {
      if(PlayerToPoint(3.0,i,2142.3875,-1802.8997,16.1475))// Health 1
      {
        SetPlayerHealth(i, 100);
        SendClientMessage(i, COLOR_GREEN, "Health has been restored ! " );
        return 1;
      }
      else if(PlayerToPoint(3.0,i,2042.1116,-1708.4257,13.5547))// Health 2
      {
        SetPlayerHealth(i, 100);
        SendClientMessage(i, COLOR_GREEN, "Health has been restored ! " );
        return 1;
      }
      else if(PlayerToPoint(3.0,i,2177.5632,-1585.4856,14.3329))// Health 3
      {
        SetPlayerHealth(i, 100);
        SendClientMessage(i, COLOR_GREEN, "Health has been restored ! " );
        return 1;
      }
//ect, ect
see how i changed if to else if after the 1st one, should fix it i cant see anything else wrong. add the rest in aswell.
No the SendClientMessage still doesn't show up when I enter the icons
Reply


Messages In This Thread
Text not showing up. - by L30 - 26.09.2009, 06:32
Re: Text not showing up. - by V1ceC1ty - 26.09.2009, 08:20
Re: Text not showing up. - by MadeMan - 26.09.2009, 10:39
Re: Text not showing up. - by L30 - 26.09.2009, 12:44
Re: Text not showing up. - by L30 - 26.09.2009, 19:26

Forum Jump:


Users browsing this thread: 2 Guest(s)