CMD won't work..
#4

To make an explosion when the player presses KEY_FIRE or Left Mouse Button you need this code
pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_FIRE)
    {
        new Float:PosX, Float: PosY, Float: PosZ;
        GetPlayerPos(playerid, PosX, PosY, PosZ);
        CreateExplosion(PosX, PosY, PosZ, 0, 5.0);
    }
    return 1;
}
&


If you don't have this code, this code makes all skin run fast like CJ
pawn Code:
//OnGameModeInit
UsePlayerPedAnims();
Reply


Messages In This Thread
CMD won't work.. - by CesarLT - 03.10.2013, 18:53
Re: CMD won't work.. - by DanishHaq - 03.10.2013, 19:18
Re: CMD won't work.. - by CesarLT - 03.10.2013, 21:15
Re: CMD won't work.. - by Patrick - 03.10.2013, 21:23
Re: CMD won't work.. - by CesarLT - 03.10.2013, 21:35
Re: CMD won't work.. - by Patrick - 03.10.2013, 21:39
Re: CMD won't work.. - by PabloDiCostanzo - 03.10.2013, 21:55
Re: CMD won't work.. - by CesarLT - 03.10.2013, 22:11
Re: CMD won't work.. - by Pottus - 03.10.2013, 22:27
Re: CMD won't work.. - by CesarLT - 03.10.2013, 22:31

Forum Jump:


Users browsing this thread: 3 Guest(s)