[Ajuda] Desalgemar bugado...
#4

Quote:
Originally Posted by davi54723
Посмотреть сообщение
Oque eu devo fazer? :S
Tente.
GetPlayerPos(PTid, x, y, z);
Veja \/
PHP код:
CMD:desalgemar(playeridparams[])
{
    if(
CSMBR[playerid] == ROTA// VERIFICA SE Й POLICIAL
    
{
        new 
PTiD;
        new 
Float:xFloat:yFloat:z;
        if(
sscanf(params"u"PTiD)) return SendClientMessage(playerid, -1"Uso: /desalgemar [ID]");
        
GetPlayerPos(PTiDxyz); // Editei Aqui.
        
if(PlayerToPoint(playerid2.0,  x,y,z)) return SendClientMessage(playerid, -1"O Mesmo nao se encontra perto.");
        
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;

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)