07.10.2014, 22:17
pawn Код:
CMD:dar(playerid, params[])
{
* * new
* * * * opcao[60],
* * * * string[100], id, qt
* * ;
* * if(sscanf(params, "s[60]ii", opcao, id, qt))
* * * * return SendClientMessage(playerid, -1, "Use: /dar [vida, colete, grana]"), false;
* * if(!strcmp(opcao, "vida", true)){
* * * * * * SendClientMessage(playerid, -1,opcao);
* * }
* *
* * if(!strcmp(opcao, "colete", true)){
* * * * * * SendClientMessage(playerid, -1,opcao);
* * }
* *
* * if(!strcmp(opcao, "grana", true)){
* * * * * * SendClientMessage(playerid, -1,opcao);
* * } *
* * return true;
}