08.12.2014, 08:47
You dont need to do #define... stop confusing him
Just make sure you have latest zcmd version.. There is only one prob with the code and that is solved in code below -
Just make sure you have latest zcmd version.. There is only one prob with the code and that is solved in code below -
pawn Код:
CMD:banear(playerid,params[])
{
new id;
if(EstadoDuty[playerid] == false)
if(PI[playerid][Staff] == 2)
{
if(!sscanf(params,"u",id)) return Mensaje(playerid,COLOR_BLANCO,"Administrador usa /banear [ID o Player]");
//in sscanf you should use 'u' for getting playerid to ban and store it in a variable..
Mensaje(id,COLOR_BLANCO,"Te han baneado.");
Ban(id);
Mensaje(playerid,COLOR_BLANCO,"Lo has baneado.");
}
return 1;
}