if ( szCmd == "vehicule" )
{
if ( szParams )
{
local pTemp = split( szParams, " " ), ID = 90;
if ( IsNum( pTemp[ 0 ] ) ) ID = pTemp[ 0 ].tointeger();
if ( ( ID >= 90 ) && ( ID <= 150 ) )
{
local v = pPlayer.Pos;
MessagePlayer( "Vous avez spawner la vehicule ID " + ID + "...", pPlayer );
local vh = CreateVehicle( ID, Vector( v.x + 5, v.y, v.z ), pPlayer.Angle );
vh.OneTime=true;
}
}
}