Explosive Barrel
#2

pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys==KEY_FIRE))

    {
       
            new Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:az;
            GetPlayerPos(playerid,x,y,z);
            CreateObject(barrelid, x, y+1, z, 0, 0, 0);
       
    }
    return 1;
}
very basic but you get the idea
Reply


Messages In This Thread
Explosive Barrel - by Ironboy500 - 16.04.2010, 14:24
Re: Explosive Barrel - by brett7 - 16.04.2010, 17:20
Re: Explosive Barrel - by Adil - 16.04.2010, 17:55
Re: Explosive Barrel - by brett7 - 16.04.2010, 18:03
Re: Explosive Barrel - by Adil - 16.04.2010, 18:09
Re: Explosive Barrel - by DRIFT_HUNTER - 16.04.2010, 18:16
Re: Explosive Barrel - by Adil - 16.04.2010, 18:21
Re: Explosive Barrel - by Ironboy500 - 17.04.2010, 12:39
Re: Explosive Barrel - by Correlli - 17.04.2010, 12:43
Re: Explosive Barrel - by brett7 - 17.04.2010, 13:25
Re: Explosive Barrel - by Ironboy500 - 17.04.2010, 13:32
Re: Explosive Barrel - by Correlli - 17.04.2010, 13:33
Re: Explosive Barrel - by Ironboy500 - 17.04.2010, 13:34
Re: Explosive Barrel - by Correlli - 17.04.2010, 13:35
Re: Explosive Barrel - by aircombat - 17.04.2010, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)