06.03.2014, 10:23
Basta utilizar a public OnPlayerCommandPerformed da include zcmd .
Siga meu exemplo:
Siga meu exemplo:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
new myam_Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, myam_Name, sizeof(myam_Name));
if(success)
printf("%s digitou o comando %s (existente)", myam_Name, cmdtext);
else printf("%s digitou o comando %s (inexistente)", myam_Name, cmdtext);
return 1;
}