05.09.2013, 16:02
pawn Код:
if( strcmp( cmdtext, "/deleteallcars", true ) == 0 )
{
for( new veh=0; veh < MAX_VEHICLES; veh ++ )
{
if ( veh != INVALID_VEHICLE_ID )
{
DestroyVehicle( veh );
}
}
SendClientMessage(playerid, 0xFFFF00AA, "Deleted all cars on the server!");
return 1;
}