23.04.2012, 22:16
Does anyone know a filterscript that allows you to delete vehicles. because there are somecars on my server that i just want to remove
AddStaticVehicle( MODEL, X, Y, Z, A, C1, C2 );
if(!strcmp(cmdtext, "/getvid", true))
{
new vStr [ 64 ];
format( vStr, sizeof( vStr ), "Current Vehicle ID: %d", GetPlayerVehicleID ( playerid ) );
return SendClientMessage( playerid, -1, vStr );
}
if(!strcmp(cmdtext, "/destroyvehicle", true))
{
if( IsPlayerInAnyVehicle( playerid ) )
{
DestroyVehicle( GetPlayerVehicleID( playerid ) );
}
return true;
}