[Ajuda] Bug no /escudo
#1

Bom tenho um bug que ele aparece e desaparece, quero que alguem me ajude a tirar e me explique oq tava acontecendo.

PHP код:
if(!strcmp(cmdtext,"/escudo",true))
    {
        if(
PlayerToPoint(2playerid,255.1110,76.0224,1003.6406) || PlayerToPoint(2,playerid,-1616.1294,681.1594,7.1875) || PlayerToPoint(2,playerid,230.1107,165.2237,1003.0234) || PlayerToPoint(2playerid,240.7396,112.9709,1003.2188) || PlayerToPoint(2playerid,1530.3945,-1664.0377,6.2187) || PlayerToPoint(2playerid,302.7606,-1529.7537,24.9219) || PlayerToPoint(2playerid,-1345.8823,492.5301,11.2027)
        || 
PlayerToPoint(2playerid,326.4911,307.0710,999.1484))
        {
            
SetPlayerAttachedObject(playerid,1,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
            
SetPlayerAttachedObject(playerid,2,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
            
SendClientMessage(playerid,COLOR_GREY," Para retirar o escudo digite /tirarescudo!");
            return 
1;
        }
        else
        {
            
SendClientMessage(playerid,COLOR_GREY," Vocк sу pode pegar escudo no local de equipar!");
        }
    }
    if(!
strcmp(cmdtext,"/tirarescudo",true))
    {
        
RemovePlayerAttachedObject(playerid,1);
        
RemovePlayerAttachedObject(playerid,2);
        return 
1;
    } 
Reply


Messages In This Thread
Bug no /escudo - by zGuigui2068 - 16.12.2014, 03:11
Re: Bug no /escudo - by GTO.DoDo - 16.12.2014, 09:10
Re: Bug no /escudo - by JonathanFeitosa - 16.12.2014, 12:56
Re: Bug no /escudo - by zGuigui2068 - 16.12.2014, 15:21
Re: Bug no /escudo - by Artista - 16.12.2014, 15:54
Re: Bug no /escudo - by zGuigui2068 - 16.12.2014, 16:25
Re: Bug no /escudo - by Artista - 16.12.2014, 16:39
Re: Bug no /escudo - by zGuigui2068 - 16.12.2014, 17:12

Forum Jump:


Users browsing this thread: 2 Guest(s)