Faction help please please.
#1

PHP код:

#define TEAM_ME 1
new PlayerInfo[MAX_PLAYERS][pInfo];
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/heal"cmdtexttrue10) == 0)
    {
        if(
PlayerInfo[playerid][TEAM_ME]);
        {
            new 
targetid;
            
SetPlayerHealth(targetid,100);
        }
        else
        {
            
SendClientMessage(playerid,0xE00404,"You are not a medic");
        }
        return 
1;
    }
    return 
0;

these are my codes but they are giving erors please help.
Reply


Messages In This Thread
Faction help please please. - by TaLhA XIV - 24.07.2012, 09:30
Respuesta: Faction help please please. - by farCry.xD - 24.07.2012, 09:59
Re: Faction help please please. - by TaLhA XIV - 24.07.2012, 10:02
Re: Faction help please please. - by catalinutzu - 24.07.2012, 10:03
Re: Faction help please please. - by Devilxz97 - 24.07.2012, 11:49
Re: Faction help please please. - by Devilxz97 - 24.07.2012, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)