[AJUDA] Problema com bomba
#2

tente assim
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
            new key, updown, leftright;
            GetPlayerKeys(i, key, updown, leftright);
            printf("%d",key);

            if(key == 140)
            {
                if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 476)
                {
                    new bombaid;
                    new Float:X,Float:Y,Float:Z,Float:a;
                    GetPlayerPos(playerid,X,Y,Z);
                    SetPlayerFacingAngle(playerid,a);
                    bombaid = CreateObject(354,X,Y,Z,0,0,a);
                    new ddb = 10;
                    MoveObject(bombaid,X,Y,Z-ddb,1);
                    new ddb2=ddb*1000;
                    SetTimerEx("explodirBomba",ddb2,false,"dfff",bombaid);
                }
            }
        }
Reply


Messages In This Thread
[AJUDA] Problema com bomba - by Gi_Flow - 05.03.2011, 20:26
Re: [AJUDA] Problema com bomba - by leandro123456 - 05.03.2011, 20:46
Re: [AJUDA] Problema com bomba - by Gi_Flow - 05.03.2011, 20:54
Re: [AJUDA] Problema com bomba - by leandro123456 - 05.03.2011, 21:05
Re: [AJUDA] Problema com bomba - by lukas_loky - 06.03.2011, 00:01
Re: [AJUDA] Problema com bomba - by rjjj - 06.03.2011, 00:37
Re: [AJUDA] Problema com bomba - by lukas_loky - 07.03.2011, 22:11
Re: [AJUDA] Problema com bomba - by Gi_Flow - 08.03.2011, 17:17
Re: [AJUDA] Problema com bomba - by Gi_Flow - 09.03.2011, 13:10
Re: [AJUDA] Problema com bomba - by zbt_Daimyo - 09.03.2011, 13:19

Forum Jump:


Users browsing this thread: 3 Guest(s)