Explosion Help
#6

Quote:
Originally Posted by SmiT
Посмотреть сообщение
pawn Код:
forward CreatePlayerExplosion( playerid, &Float:x, &Float:y, &Float:z );
public CreatePlayerExplosion( playerid, &Float:x, &Float:y, &Float:z )
{
    CreateExplosion( Float:x, Float:y, Float:z, 6, 15.0 );
    return true;
}

public OnPlayerCommandText( playerid,cmdtext[] )
{
    if ( !strcmp ( cmdtext, "/bomb", true ) )
    {
        new
            Float: P[ 3 ];
        GetPlayerPos( playerid, P[ 0 ], P[ 1 ], P[ 2 ] );
        SetTimerEx( "CreatePlayerExplosion", 5000, false, "dfff", playerid, P[ 0 ], P[ 1 ], P[ 2 ] );
        SendClientMessage( playerid, -1,"Area is going to blow in 5 seconds" );
        return true;
    }
    return false;
}
why return false; ?? and "dfff"
Reply


Messages In This Thread
Explosion Help - by jiwan - 04.11.2011, 07:29
Re: Explosion Help - by [GOD]Dragonster82 - 04.11.2011, 07:35
Re: Explosion Help - by [MG]Dimi - 04.11.2011, 09:41
Re: Explosion Help - by jiwan - 04.11.2011, 14:23
Re: Explosion Help - by SmiT - 04.11.2011, 14:38
Re: Explosion Help - by jiwan - 04.11.2011, 14:46
Re: Explosion Help - by SmiT - 04.11.2011, 14:55
Re: Explosion Help - by jiwan - 05.11.2011, 05:24
Re: Explosion Help - by jiwan - 05.11.2011, 15:16
Re: Explosion Help - by grand.Theft.Otto - 06.11.2011, 00:43

Forum Jump:


Users browsing this thread: 2 Guest(s)