15.08.2014, 11:42
(
Последний раз редактировалось Baltimore; 15.08.2014 в 17:44.
)
xxxxx
if(strcmp(cmd, "/unfreeze", true) == 0)
{
if (!pack_isAdmin(playerid, 1))
return SendClientMessage(playerid, COLOR_ROUGE, noAcces);
new playa;
if(sscanf(params, "u",playa))
return SendClientMessage(playerid, -1, "Commande: {E0E0E0}/unfreeze <id du joueur/de l'inconnu>");
if(!player_isValid(playa))
return SendClientMessage(playerid, COLOR_ROUGE, noConnected);
GetPlayerName(playa, giveplayer, sizeof(giveplayer));
UnfreezePlayer(playa);
format(string, sizeof(string), "Le modйrateur/administrateur %s vous unfreeze.", pName[playerid]);
return SendClientMessage(playa, COLOR_BLEU_CLAIR, string);
}
Boa noite.
Aqui eu estou comeзando com zcmd e sscanf e eu tenho algumas preocupaзхes. Atualmente tenho uma strcmp fim com um recurso que me permite voltar a ID do usuбrio se ele й ou nгo nomoff (So nomoff permite a "outra id", mantendo o enfaite principal) . Entгo, eu estou tendo problemas para fazer meu pedido zcmd + sscanf em strcmp, se vocк poderia fazк-lo e dizer-me .. obrigado pawn Код:
pawn Код:
|