18.01.2014, 12:52
Alright, so this code works. Though is there a better way of doing it?:
pawn Код:
if(sscanf(params, "uD(0)", id, rank)) return TextDrawShowForPlayer(playerid, CommandTD[playerid]);
{
if(rank)
{
SendClientMessage(playerid, GREEN, "You did something to the parameter");
}
else
{
SendClientMessage(playerid, RED, "You didn't do anything to the parameter.");
}
}