Whats wrong with this?
#2

This does not support on Sscanf.

Try using strmp.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/surrender", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pTeam] ==0)
    {
        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
        PlayerInfo[playerid][pSurrender] = 1;
    }
    else (PlayerInfo[playerid][pSurrender] ==1)
    }
        ClearAnimations(playerid);
        PlayerInfo[playerid][pSurrender] = 0;
    }
    return 1;
}
    return 0;
}
Reply


Messages In This Thread
Whats wrong with this? - by Shockey HD - 16.08.2011, 04:12
Respuesta: Whats wrong with this? - by Alex_Obando - 16.08.2011, 04:27
Re: Whats wrong with this? - by Scenario - 16.08.2011, 04:40
Re: Respuesta: Whats wrong with this? - by Shockey HD - 16.08.2011, 04:53
Re: Respuesta: Whats wrong with this? - by Scenario - 16.08.2011, 04:57
Re: Whats wrong with this? - by Mark1984 - 16.08.2011, 05:16

Forum Jump:


Users browsing this thread: 3 Guest(s)