29.08.2014, 16:23
Boas, queria por no dialog response assim:
Tenho o cmd ban assim:
Mas da warnin:
Ajuda ae ?
PHP код:
case 116:
{
if(!response)
{
DeletePVar(playerid, "StatsTab");
return 1;
}
else
{
new string[50];
format(string, sizeof string, "%s", inputtext);
cmd_ban(playerid, GetPVarInt(playerid, "StatsTab"), string);
}
PHP код:
CMD:ban(playerid,params[])
{
new playa,Messagem[100];
if (sscanf(params, "ds[100]", playa, Messagem))return SendClientMessage(playerid, COR_CMD_INCTO, "*USA: /bantr69 [PlayerID] [Razгo]");
Код:
error 035: argument type mismatch (argument 2)