08.03.2011, 18:40
pawn Код:
warning 215: expression has no effect
pawn Код:
Player[playerid][Afk] >= 0;
pawn Код:
command(back, playerid, params[])
{
if(Player[playerid][Afk] >= 0)
{
SendClientMessage(playerid, ORANGE, "Hint: You have to be AFK to use /back!" );
}
else
{
if(Player[playerid][Afk] >= 1)
{
SendClientMessage(playerid, CYAN, "Welcome back." );
TogglePlayerControllable(playerid, 1);
Delete3DTextLabel(label[playerid]);
Player[playerid][Afk] >= 0; //warning line here
}
}
return 1;
}