[Ajuda] Desalgemar bugado...
#10

Quote:
Originally Posted by DanDRT
Посмотреть сообщение
Codigo do Vini /\ So Adicionei o ! Ali \/
PHP код:
CMD:desalgemar(playeridparams[])
{
    if(
CSMBR[playerid] == ROTA// VERIFICA SE Й POLICIAL
    
{
        new 
PTiD;
        new 
Float:xFloat:yFloat:z;
        
GetPlayerPos(playeridxyz);
        if(
sscanf(params"u"PTiD)) return SendClientMessage(playerid, -1"Uso: /desalgemar [ID]");
        if(!
IsPlayerInRangeOfPoint(PTiD2.0,  x,y,z)) return SendClientMessage(playerid, -1"O Mesmo nao se encontra perto."); // - Adicionei Aqui.
        
RemovePlayerAttachedObject(PTiD4);
        
SetPlayerSpecialAction(PTiDSPECIAL_ACTION_NONE);
        
PlayerPlaySound(playerid5201x,y,z);
        
SendClientMessage(playerid, -1"Vocк guardou sua algema."); // ( Mensagem ao Digitar )
    
}
    else 
SendClientMessage(playerid0xAA3333AA"Somente policias podem Desalgemar!");
    return 
1;

Assim Mostrara a Mensagem Pro Player Quando Ele Tiver Longe do Player e Desalgemaria quando estivesse perto.
Funcionou
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: 1 Guest(s)