Nгo entendi muito bem, mais vou dar prioridade a um bug que ocorreu no meu comando. o.0
Nesse comando aqui й o /prender, nele sу os policiais pode usar.
Quando digita ele, ele pede: [ID]  [MOTIVO] Mais sу de eu colocar o ID ele prende, como faзo pra arrumar isso?
Sendo necessбrio o MOTIVO tambйm ?
pawn Код:
CMD:prender(playerid, params[])
{
 if(CSMBR[playerid] == ROCAM)
 {
        new PTiD, motivo[128], motmsg[128];
        if(!sscanf(params, "us[128]", PTiD, motivo)) return SendClientMessage(playerid, -1, "Uso: /prender [ID] [MOTIVO]");
        if(!IsPlayerInRangeOfPoint(PTiD, 15.0, 1549.6476,-1474.9231,2806.2000)) return SendClientMessage(playerid, -1, "O Jogador nгo se encontra na DP.");
        if(!IsPlayerConnected(PTiD)) return SendClientMessage(playerid, -1, "[ERRO]: Jogador Nгo conectado!");
        if(!IsPlayerInRangeOfPoint(playerid, 15.0, 1549.6476,-1474.9231,2806.2000)) return SendClientMessage(playerid, -1, "Vocк nгo se encontra perto da DP.");
        new rand = random(sizeof(PrisaoAleatoria));
        SetPlayerPos(PTiD, PrisaoAleatoria[rand][0], PrisaoAleatoria[rand][1],PrisaoAleatoria[rand][2]);
        TogglePlayerControllable(PTiD, 0);
        SetPlayerAttachedObject(PTiD, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
        SetPlayerSpecialAction(PTiD, SPECIAL_ACTION_CUFFED);
        format(motmsg,128," Voce foi algemado! Motivo : %s ", motivo);
        SendClientMessage(PTiD, -1, motmsg);
        ResetPlayerWeapons(PTiD);
        GivePlayerMoney(playerid, 3000);
        {
        SendClientMessage(playerid, 0xAA3333AA, "Bandido preso com sucesso!");
        }
        }
        else SendClientMessage(playerid, 0xAA3333AA, "Somente policias podem Prender!");
 return true;
}
 
Nesse comando й o Imo(bilizar), quando utilizado, o player й imobilizado e sу pode sair com outro comando.
O Bug й: Quando digitado, ele pede o [ID] sу que se eu digitar /imo ele imobiliza EU, que digitei o comando.
o.0
pawn Код:
CMD:imo(playerid, params[])
{
    if(CSMBR[playerid] == ROCAM || CSMBR[playerid] == ROTA) // VERIFICA SE Й POLICIAL
    {
    new PTiD;
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(!sscanf(params, "u", PTiD)) return SendClientMessage(playerid, -1, "Uso: /imo [ID]");
    if(!IsPlayerConnected(PTiD)) return SendClientMessage(playerid, -1, "[ERRO]: Jogador Nгo conectado!");
    if(!IsPlayerInRangeOfPoint(PTiD, 2.5,  x,y,z)) return SendClientMessage(playerid, -1, "O Mesmo nao se encontra perto.");
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Nгo й possivel imobilizar de dentro do carro !");
    
    SetPVarInt(playerid, "Proib", 1);
    SetPlayerAttachedObject(PTiD, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
    SetPlayerSpecialAction(PTiD, SPECIAL_ACTION_CUFFED);
    PlayerPlaySound(playerid, 5201, x,y,z);
    GameTextForPlayer(PTiD, "~b~IMOBILIZADO!", 3000, 0);
    ApplyAnimation(PTiD,"PED","EV_dive",4.0,0,1,1,1,0);
    TogglePlayerControllable(PTiD,0);
    }
    else
    {
    SendClientMessage(playerid, 0xAA3333AA, " VOCК NГO Й POLICIAL!  ");
    }
    return 1;
}
 
AJUDA? ;P