[Ajuda] Desalgemar bugado...
#1

Queria fazer um comando para policial que dк para algemar player prуximo apenas, sу que nгo funciona...
pawn Код:
CMD:desalgemar(playerid, params[])
{
    if(CSMBR[playerid] == ROTA) // VERIFICA SE Й POLICIAL
    {
    new PTiD;
    new Float:x, Float:y, Float:z;
    if(sscanf(params, "u", PTiD)) return SendClientMessage(playerid, -1, "Uso: /desalgemar [ID]");
    if (PlayerToPoint(playerid, 2.0,  x,y,z)) return SendClientMessage(playerid, -1, "O Mesmo nao se encontra perto.");
    RemovePlayerAttachedObject(PTiD, 4);
    SetPlayerSpecialAction(PTiD, SPECIAL_ACTION_NONE);
    PlayerPlaySound(playerid, 5201, x,y,z);
    SendClientMessage(playerid, -1, "Vocк guardou sua algema."); // ( Mensagem ao Digitar )
}
    else
    {
    SendClientMessage(playerid, 0xAA3333AA, "Somente policias podem Desalgemar!");
    }
    return 1;
}
Oque estб errado? Alйm de tudo xO


:P
Reply


Messages In This Thread
Desalgemar bugado... - by davi54723 - 07.02.2013, 21:15
Re: Desalgemar bugado... - by DanDRT - 07.02.2013, 21:17
Re: Desalgemar bugado... - by davi54723 - 07.02.2013, 21:20
Re: Desalgemar bugado... - by DanDRT - 07.02.2013, 21:24
Re: Desalgemar bugado... - by davi54723 - 07.02.2013, 21:37
Re: Desalgemar bugado... - by HardWar - 07.02.2013, 21:40
Re: Desalgemar bugado... - by davi54723 - 07.02.2013, 21:54
Re: Desalgemar bugado... - by ViniBorn - 07.02.2013, 23:53
Re: Desalgemar bugado... - by DanDRT - 08.02.2013, 07:52
Re: Desalgemar bugado... - by davi54723 - 08.02.2013, 12:22

Forum Jump:


Users browsing this thread: 2 Guest(s)