[Pedido] Escudo
#3

Esse й um code que achei no meu GM, portanto nгo sei quem criou. Sу por em um comando.

pawn Код:
if(GetPVarInt(playerid, "Escudo") == 10)
        {
            RemovePlayerAttachedObject(playerid,1);
            RemovePlayerAttachedObject(playerid,2);
            RemovePlayerAttachedObject(playerid,3);
            RemovePlayerAttachedObject(playerid,4);
            SendClientMessage(playerid,COLOR_RED,"Vocк retirou o seu escudo!");
            SetPVarInt(playerid, "Escudo", 0);
        }
        else if(GetPVarInt(playerid, "Escudo") != 10)
        {
            SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);
            SetPlayerAttachedObject(playerid,2,19141,2,0.11,0.0,0.0,0.0,0.0,0.0);
            SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
            SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
            SendClientMessage(playerid,COLOR_RED,"Vocк colocou um escudo!");
            SetPVarInt(playerid, "Escudo", 10);
Reply


Messages In This Thread
Escudo - by Delete_ - 01.05.2011, 04:31
Re: [PEDIDO] Escudo - by Jorge_Hard - 01.05.2011, 05:02
Re: [PEDIDO] Escudo - by [AF]Junior - 01.05.2011, 05:08
Re: [PEDIDO] Escudo - by JonathanFeitosa - 01.05.2011, 14:25
Re: [PEDIDO] Escudo - by Shadoww5 - 01.05.2011, 14:31
Re: [PEDIDO] Escudo - by Macintosh - 01.05.2011, 14:33
Re: [PEDIDO] Escudo - by Shadoww5 - 01.05.2011, 14:42
Re: [PEDIDO] Escudo - by Delete_ - 01.05.2011, 14:50
Re: [PEDIDO] Escudo - by Katros - 01.05.2011, 15:11
Re: [PEDIDO] Escudo - by dEvasT._ - 24.07.2012, 15:55

Forum Jump:


Users browsing this thread: 2 Guest(s)