22.09.2011, 13:04
Look Here:
FlareID is the ObjectID that I don't know what is it...
pawn Код:
CMD:flare( playerid )
{
new oFlare, Float: P[ 3 ]; GetPlayerPos( playerid, P[ 0 ], P[ 1 ], P[ 2 ] );
if( AccInfo[ playerid ][ pVip ] < 1 ) return SendClientMessage( playerid, -1, "You don't have VIP Level 1" );
DestroyObject( oFlare );
oFlare = CreateObject( FlareID, P[ 0 ], P[ 1 ], P[ 2 ], 0.0, 0.0, 0.0, 300.0 );
return ( 1 );
}